summaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-09-13 19:35:21 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-09-13 19:53:07 +0200
commit6be445785a4eb97cbecff391ae5b9fde89cb83de (patch)
treead81e71dbdc51662e07396e65594cb745dc4519a /gnu/packages/video.scm
parent7d1cc612938565d935c53bd7a429f41d1f048dae (diff)
downloadpatches-6be445785a4eb97cbecff391ae5b9fde89cb83de.tar
patches-6be445785a4eb97cbecff391ae5b9fde89cb83de.tar.gz
gnu: youtube-viewer: Don't use unstable tarball.
* gnu/packages/video.scm (youtube-viewer)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/video.scm')
-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 aa2b4467fc..067a1ddc03 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1429,14 +1429,14 @@ audio, images) from the Web. It can use either mpv or vlc for playback.")
(name "youtube-viewer")
(version "3.3.4")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/trizen/youtube-viewer/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/trizen/youtube-viewer.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1dqaxkz5svv0lmxds6lppcpzhkq6gar2raw9gx6imrd7yz02fpgn"))))
+ "1kpq3mk81hpjp5q4mi907ds0dbif40a4dzmv2h2lq5pcp757sw6i"))))
(build-system perl-build-system)
(native-inputs
`(("perl-module-build" ,perl-module-build)))