summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-10 23:26:18 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-10 23:29:26 +0100
commitb249ff5d37311577d73ffd4999f6e6726e098a0f (patch)
tree95d490c086b8ca37a12479c2e21f2cc3b17d4606
parent4289a306b7256cb4dbf3a7a193f38c5da17db788 (diff)
downloadgnu-guix-b249ff5d37311577d73ffd4999f6e6726e098a0f.tar
gnu-guix-b249ff5d37311577d73ffd4999f6e6726e098a0f.tar.gz
gnu: dcadec: Fetch sources from git.
* gnu/packages/audio.scm (dcadec)[source]: Fetch from git.
-rw-r--r--gnu/packages/audio.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 8486072ebf..08e3c8b542 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3076,13 +3076,14 @@ use them split WAVE data into multiple files.")
(name "dcadec")
(version "0.2.0")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/foo86/dcadec/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/foo86/dcadec.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0i0dpypgqkhhi4v1fmsp2way6w9kbcix3c7q79pmg39yvrzj17gd"))))
+ "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs"))))
(build-system gnu-build-system)
(arguments
;; Test files are missing: https://github.com/foo86/dcadec/issues/53