guix-commits
[Top][All Lists]
Advanced

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

05/05: gnu: lm-sensors: Don't use unstable tarball.


From: guix-commits
Subject: 05/05: gnu: lm-sensors: Don't use unstable tarball.
Date: Mon, 15 Apr 2019 19:01:27 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b744862704241f2ceb5b64fabccf5bff2a8fd781
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 15 12:22:25 2019 +0200

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

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8ea2869..4390526 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2488,17 +2488,17 @@ country-specific regulations for the wireless 
spectrum.")
   (package
     (name "lm-sensors")
     (version "3.5.0")
-    (source (origin
-              (method url-fetch)
-              (uri (list (string-append
-                           "https://github.com/groeck/lm-sensors/archive/V";
-                           (string-join (string-split version #\.) "-")
-                           ".tar.gz")))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1q6p6i8mrzxw70hfjvq4mlahnx2ahvbmyxsa78dmin2c7bbc2wgn"))
-              (patches (search-patches "lm-sensors-hwmon-attrs.patch"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/groeck/lm-sensors.git";)
+             (commit (string-append "V" (string-join
+                                         (string-split version #\.) "-")))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1mdrnb9r01z1xfdm6dpkywvf9yy9a4yzb59paih9sijwmigv19fj"))
+       (patches (search-patches "lm-sensors-hwmon-attrs.patch"))))
     (build-system gnu-build-system)
     (inputs `(("rrdtool" ,rrdtool)
               ("perl" ,perl)



reply via email to

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