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,16 +2488,16 @@ 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"))
(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
"1q6p6i8mrzxw70hfjvq4mlahnx2ahvbmyxsa78dmin2c7bbc2wgn"))
(base32 "1mdrnb9r01z1xfdm6dpkywvf9yy9a4yzb59paih9sijwmigv19fj"))
(patches (search-patches "lm-sensors-hwmon-attrs.patch"))))
(build-system gnu-build-system)
(inputs `(("rrdtool" ,rrdtool)