guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: rct: Be more idiomatic.


From: guix-commits
Subject: 01/01: gnu: rct: Be more idiomatic.
Date: Fri, 19 Apr 2019 15:16:42 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 1e72a23d498c137f99b21ae05b5e559c07e22bc6
Author: Leo Famulari <address@hidden>
Date:   Fri Apr 19 15:10:58 2019 -0400

    gnu: rct: Be more idiomatic.
    
    * gnu/packages/cpp.scm (rct): Move the call to 'git-version' into the
    package definition.
    [source]: Explicitly include the source URI rather than using
    'home-page'.
---
 gnu/packages/cpp.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 4e8f122..e0af0dd 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -72,16 +72,14 @@ operating system functions.")
 
 (define-public rct
   (let* ((commit "b3e6f41d9844ef64420e628e0c65ed98278a843a")
-         (revision "2")
-         (version (git-version "0.0.0" revision commit)))
+         (revision "2"))
     (package
       (name "rct")
-      (version version)
-      (home-page "https://github.com/Andersbakken/rct";)
+      (version (git-version "0.0.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
-                      (url home-page)
+                      (url "https://github.com/Andersbakken/rct";)
                       (commit commit)))
                 (sha256
                  (base32
@@ -99,6 +97,7 @@ operating system functions.")
       (inputs
        `(("openssl" ,openssl)
          ("zlib" ,zlib)))
+      (home-page "https://github.com/Andersbakken/rct";)
       (synopsis "C++ library providing Qt-like APIs on top of the STL")
       (description "Rct is a set of C++ tools that provide nicer (more Qt-like)
  APIs on top of Standard Template Library (@dfn{STL}) classes.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]