summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-28 20:14:36 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-03-28 20:19:28 +0100
commit40d59c4e22c217e1f9215056b8b5977a6352239c (patch)
tree1826a259837fe1ea07206f8814c5526c68130684
parentcf9ab49e97f6b9b263b5f919574f78ef3c84cc45 (diff)
downloadguix-40d59c4e22c217e1f9215056b8b5977a6352239c.tar.gz
gnu: dropbear: Don't use unstable tarball.
* gnu/packages/screen.scm (dropbear)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
-rw-r--r--gnu/packages/screen.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm
index eb4c477a89..671c8e57a8 100644
--- a/gnu/packages/screen.scm
+++ b/gnu/packages/screen.scm
@@ -27,6 +27,7 @@
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages ncurses)
@@ -156,11 +157,13 @@ window manager as well as the Tmux terminal multiplexer.")
     (version "0.7.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/nelhage/reptyr/archive"
-                           "/reptyr-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nelhage/reptyr.git")
+             (commit (string-append "reptyr-" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "10s9blv8xljzfdn4xly5y2q66kd0ldj3wnflymsxb5g6r3s3kidi"))))
+        (base32 "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj"))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f                      ; no tests