summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-14 13:12:37 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-03-14 19:47:27 +0100
commit925926bab11782ab0f36dcb7f5c00cf95138866f (patch)
tree99f909cf83b59a78d7b2b84ac3c58e8703ba6577 /gnu/packages
parent625697ea609385b596903f34997dee56d1f7997f (diff)
downloadguix-925926bab11782ab0f36dcb7f5c00cf95138866f.tar.gz
gnu: sslh: Don't use unstable tarball.
* gnu/packages/networking.scm (sslh)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/networking.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index ce775a3a0f..6c8f946b0c 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1227,14 +1227,15 @@ library remains flexible, portable, and easily embeddable.")
   (package
     (name "sslh")
     (version "1.19c")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/yrutschle/sslh/archive/v"
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0pd8hifa9h0rm7vms3k6ic1k29xigrlv2idc5wgcafmb1v1243di"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/yrutschle/sslh.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14x3n25n9md0sw8cda9m5bd8r96xpw1vdkapklw4mxgfcz1k2kxq"))))
     (build-system gnu-build-system)
     (native-inputs
      `(;; Test dependencies.