diff options
author | ( <paren@disroot.org> | 2022-06-15 19:53:50 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-06-19 02:00:00 +0200 |
commit | 30afa097a5973716c3e553a253d90612a9ef081d (patch) | |
tree | 060e0dd2f060ddb238c698921d98b2e7a3db1ce8 | |
parent | 22e289a67ab6ce03c84c67c0ea20814ee912f643 (diff) | |
download | guix-30afa097a5973716c3e553a253d90612a9ef081d.tar.gz |
gnu: d-tools: Don't use unstable tarball.
* gnu/packages/dlang.scm (d-tools)[source]: Use GIT-FETCH and GIT-FILE-NAME. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
-rw-r--r-- | gnu/packages/dlang.scm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index d987c3bf72..04dd236770 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -54,13 +54,15 @@ (package (name "d-tools") (version "2.077.1") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dlang/tools/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c8w373rv6iz3xfid94w40ncv2lr2ncxi662qsr4lda4aghczmq7")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dlang/tools") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0wqqw7h1bwpdfrr9vgqkwzh47aqkd6imac1d6nn8gjlqzdcblqdr")))) (build-system gnu-build-system) (arguments (list #:phases |