summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 21:55:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:48 +0100
commit722e6ffeea9ed98fb765ebda1feefd921baefa44 (patch)
treee7d50dbff27493296e8001ef62e76c80c429015c
parent21309b8b1fafa4267dcbfa85e3b0a416d4fbdb95 (diff)
downloadguix-722e6ffeea9ed98fb765ebda1feefd921baefa44.tar.gz
gnu: ffmpegthumbnailer: Fetch sources from git.
* gnu/packages/video.scm (ffmpegthumbnailer)[source]: Fetch from git.
-rw-r--r--gnu/packages/video.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index d246f402ce..25b50c5379 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -890,12 +890,14 @@ audio/video codec library.")
     (name "ffmpegthumbnailer")
     (version "2.2.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/dirkvdb/"
-                                  name "/archive/" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/dirkvdb/ffmpegthumbnailer.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "13qs4iwd4l3iiim30s5051n80z0vgsnikym8vsn321cnm9algiwb"))))
+                "0kl8aa547icy9b05njps02a8sw4yn4f8fzs228kig247sn09s4cp"))))
     (build-system cmake-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)))