gnu: dcadec: Fetch sources from git.

* gnu/packages/audio.scm (dcadec)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-10 23:26:18 +01:00
parent 4289a306b7
commit b249ff5d37
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3076,13 +3076,14 @@ (define-public dcadec
(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