From 664cb939c61198e62398615525d5fe9835b2df38 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Nov 2019 15:05:46 +0100 Subject: 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(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 36549fc0cb..71d3db62d3 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) -- cgit 1.4.1