summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:17:04 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commit773c18086bebb24ae2f991779d210be9d85ad22e (patch)
tree8d189feaf412b738fff493f5fb90ff909f986842
parentcf8478e5d5377cb94531d9808acfe178f6fc11be (diff)
downloadguix-773c18086bebb24ae2f991779d210be9d85ad22e.tar.gz
gnu: picocom: Fetch sources from git.
* gnu/packages/terminals.scm (picocom)[source]: Fetch from git.
-rw-r--r--gnu/packages/terminals.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 89c7230ea8..c8f3a17223 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -330,14 +330,14 @@ combining, and so on, with a simple interface.")
     (name "picocom")
     (version "2.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/npat-efault/picocom"
-                    "/archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/npat-efault/picocom.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1knl6dglnrynx1fhy21nylw56i1q3dkizkgxzkq42mb7ilah8f9y"))))
+                "06b2ic34dnxc73cprc5imi3iamlhsv623sbg9vj5h5rvs586dwjx"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags '("CC=gcc")