guix-commits
[Top][All Lists]
Advanced

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

06/07: gnu: light: Don't use unstable tarball.


From: guix-commits
Subject: 06/07: gnu: light: Don't use unstable tarball.
Date: Tue, 12 Nov 2019 09:13:04 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 664cb939c61198e62398615525d5fe9835b2df38
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Nov 12 15:05:46 2019 +0100

    gnu: light: Don't use unstable tarball.
    
    * gnu/packages/linux.scm (light)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/linux.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 36549fc..71d3db6 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4961,15 +4961,15 @@ monitoring tools for Linux.  These include 
@code{mpstat}, @code{iostat},
   (package
     (name "light")
     (version "1.2.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                     "https://github.com/haikarainen/light/archive/v";
-                     version ".tar.gz"))
-              (sha256
-               (base32
-                "14vj7v3mffpp0298vnzymp8ndasa0p3qv8i6iq3f4gc1717yglak"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/haikarainen/light.git";)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "0zrjipd392bzjvxx0rjrb0cgi0ix1d83fwgw1mcy8kc4d16cgyjg"))
+       (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (native-inputs
      `(("autoconf" ,autoconf)



reply via email to

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