summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 21:46:49 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:48 +0100
commit2f069a1fa7d3ce171a917b340fee8305d12d0f83 (patch)
treeeac465a63f1bb931f97eec44390f3145db409641 /gnu
parent520b5d06a4e1c6b06d161a420a083616469b5131 (diff)
gnu: obs: Fetch sources from git.
* gnu/packages/video.scm (obs)[source]: Fetch from git.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/video.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2b030fed7a..1fdcecb4d4 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2104,13 +2104,14 @@ be used for realtime video capture via Linux-specific APIs.")
(name "obs")
(version "20.1.3")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/jp9000/obs-studio"
- "/archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jp9000/obs-studio.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1g5z6z050v25whc7n3xvg6l238wmg5crp7ihvk73qngvzxr8bg28"))))
+ "0qdpa2xxiiw53ksvlrf80jm8gz6kxsn56sffv2v2ijxvy7kw5zcg"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; no tests