summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:26:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:26:20 +0300
commitcfaf5bccb9d5a8aa80b1c8655545623f814a2ec4 (patch)
treea0af1d6e5d3a66f1a80e4074e2984c9c4cf2faaa
parenteb4cfec2762b7553fc4e26208e854140a8442c2e (diff)
downloadguix-cfaf5bccb9d5a8aa80b1c8655545623f814a2ec4.tar.gz
gnu: procenv: Don't use unstable tarball.
* gnu/packages/linux.scm (procenv)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/linux.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3b53114a75..a56eb5775a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6317,12 +6317,13 @@ the MTP device as a file system.")
    (version "0.51")
    (source
     (origin
-     (method url-fetch)
-     (uri (string-append "https://github.com/jamesodhunt/procenv/archive/"
-                         version ".tar.gz"))
-     (file-name (string-append name "-" version ".tar.gz"))
+     (method git-fetch)
+     (uri (git-reference
+            (url "https://github.com/jamesodhunt/procenv")
+            (commit version)))
+     (file-name (git-file-name name version))
      (sha256
-      (base32 "1javw97yw0qvjmj14js8vw6nsfyf2xc0kfiyq5f2hsp0553w2cdq"))))
+      (base32 "1ilrsw1rc85w29mkbkmm5n5w427gapv43yrjzvkb4kc9xhscgdjn"))))
    (build-system gnu-build-system)
    (arguments `(#:configure-flags '("--disable-silent-rules")))
    (native-inputs `(("groff" ,groff) ; for tests