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

* gnu/packages/linux.scm (lm-sensors)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-15 12:22:25 +02:00
parent 16c92e9d38
commit b744862704
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 11 deletions

View File

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