aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 21:56:16 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:48 +0100
commitce4ac7d56e6e8abd27fb211a3b6ee378165ce92f (patch)
treee5fdde8205d4749c59cbead42c354e5d5742d560
parent722e6ffeea9ed98fb765ebda1feefd921baefa44 (diff)
downloadguix-ce4ac7d56e6e8abd27fb211a3b6ee378165ce92f.tar
guix-ce4ac7d56e6e8abd27fb211a3b6ee378165ce92f.tar.gz
gnu: mpv: Fetch sources from git.
* gnu/packages/video.scm (mpv)[source]: Fetch from git.
-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 25b50c5379..41add12be7 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1189,14 +1189,14 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
(name "mpv")
(version "0.29.1")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/mpv-player/mpv/archive/v" version
- ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mpv-player/mpv.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "08x63hlpj6s8xixmdbx6raff5p5mih7cnk0bcql9f3wrs5hx9ygr"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ "138921kx8g6qprim558xin09xximjhsj9ss8b71ifg2m6kclym8m"))))
(build-system waf-build-system)
(native-inputs
`(("perl" ,perl) ; for zsh completion file