summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 21:45:34 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:48 +0100
commit5d9e3edd013d245a413543d10ab64f66e1bd2717 (patch)
treeafdfb0f0f66ce0ae80df77853a0d156f2a14d59d /gnu
parent69f7d3f424a50372cf153b3a9a382013bc05d352 (diff)
downloadguix-5d9e3edd013d245a413543d10ab64f66e1bd2717.tar.gz
gnu: you-get: Fetch sources from git.
* gnu/packages/video.scm (you-get)[source]: Fetch from git.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/video.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 936b912d2f..496b3277c5 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1456,14 +1456,14 @@ other site that youtube-dl supports.")
     (name "you-get")
     (version "0.4.1077")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/soimort/you-get/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/soimort/you-get.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "04vxc91k627qgsqs8dhqajrb6vpj4pw21jlwbha28qakfiz2x11k"))))
+                "1rwkn3wb3r70b8cqj40qdknkg9kqbgzkvi901hbpy2a8s1b7858n"))))
     (build-system python-build-system)
     (inputs
      `(("ffmpeg" ,ffmpeg)))             ; for multi-part and >=1080p videos