From 30afa097a5973716c3e553a253d90612a9ef081d Mon Sep 17 00:00:00 2001 From: "(" Date: Wed, 15 Jun 2022 19:53:50 +0100 Subject: 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 --- gnu/packages/dlang.scm | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'gnu/packages') 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 -- cgit v1.2.3