guix-commits
[Top][All Lists]
Advanced

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

04/15: gnu: chez-web: Use GIT- helpers.


From: guix-commits
Subject: 04/15: gnu: chez-web: Use GIT- helpers.
Date: Sat, 16 Feb 2019 14:52:34 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit f01b17b374b0354b14babe2d323191c729e87804
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Feb 15 17:27:38 2019 +0100

    gnu: chez-web: Use GIT- helpers.
    
    * gnu/packages/chez.scm (chez-web)[version]: Use GIT-VERSION.
    [source]: Use GIT-FILE-NAME.
---
 gnu/packages/chez.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 0145651..fcf2a09 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -264,16 +264,15 @@ and 32-bit PowerPC architectures.")
         (revision "1"))
     (package
       (name "chez-web")
-      ;; release 2.0 is different and doesn't work.
-      (version (string-append "2.0-" revision "."
-                              (string-take commit 7)))
+      ;; Release 2.0 is different and doesn't work.
+      (version (git-version "2.0" revision commit))
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/arcfide/ChezWEB.git";)
                (commit commit)))
-         (file-name (string-append name "-" version "-checkout"))
+         (file-name (git-file-name name version))
          (sha256
           (base32 "1dq25qygyncbfq4kwwqqgyyakfqjwhp5q23vrf3bff1p66nyfl3b"))))
       (build-system gnu-build-system)



reply via email to

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