gnu: dub: Don't use unstable tarball.
* gnu/packages/dlang.scm (dub)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
parent
6a6cfbafd7
commit
454866c6e3
|
@ -308,15 +308,16 @@ bootstrapping more recent compilers written in D.")
|
||||||
(package
|
(package
|
||||||
(name "dub")
|
(name "dub")
|
||||||
(version "1.7.2")
|
(version "1.7.2")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/dlang/dub/archive/"
|
(method git-fetch)
|
||||||
"v" version ".tar.gz"))
|
(uri (git-reference
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(url "https://github.com/dlang/dub.git")
|
||||||
(sha256
|
(commit (string-append "v" version))))
|
||||||
(base32
|
(file-name (git-file-name name version))
|
||||||
"1jvr1mmq8j77wnsrsg7x2xv8yfljqd6x8gn6yy7dd6h6y3cf408q"))))
|
(sha256
|
||||||
(build-system gnu-build-system)
|
(base32 "073ibvgm1gphcqs1yjrav9ryp677nh3b194nxmvicwgvdc0sb6w9"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; it would have tested itself by installing some packages (vibe etc)
|
`(#:tests? #f ; it would have tested itself by installing some packages (vibe etc)
|
||||||
#:phases
|
#:phases
|
||||||
|
|
Loading…
Reference in New Issue