guix-commits
[Top][All Lists]
Advanced

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

24/38: gnu: cbatticon: Don't use unstable tarball.


From: guix-commits
Subject: 24/38: gnu: cbatticon: Don't use unstable tarball.
Date: Fri, 8 Feb 2019 18:02:33 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit d8d910e6e1d5a321e130b158f5c0782e372ceb2e
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Dec 23 10:35:26 2018 +0100

    gnu: cbatticon: Don't use unstable tarball.
    
    * gnu/packages/admin.scm (cbatticon)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/admin.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 0da617b..f4c34e1 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2091,23 +2091,24 @@ produce uniform output across heterogeneous networks.")
   (package
     (name "cbatticon")
     (version "1.6.8")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/valr/";
-                                  name "/archive/" version ".tar.gz"))
-              (sha256
-               (base32
-                "185lzvaijvyq7y8r7dvizhri0rf9lpc1anfgbbn4lznr1fr3z7rn"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/valr/cbatticon.git";)
+             (commit version)))
+       (sha256
+        (base32 "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6"))
+       (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f ; no tests
+     `(#:tests? #f                      ; no tests
        #:make-flags
        (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
              "CC=gcc")
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure)))) ; no configure script
+         (delete 'configure))))         ; no configure script
     (inputs
      `(("gtk+" ,gtk+)
        ("gettext" ,gettext-minimal)



reply via email to

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