From 511a8f8d468ad64ec8e117c827573f58552fdceb Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 27 Nov 2021 22:36:49 +0100 Subject: gnu: clustershell: Fetch sources from Git. * gnu/packages/ssh.scm (clustershell)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/ssh.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 00bcdb63ab..c8a1dbbe47 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -827,12 +827,13 @@ framework.") (version "1.8.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/cea-hpc/clustershell/releases" - "/download/v" version - "/ClusterShell-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/cea-hpc/clustershell") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1qdcgh733szwj9r1gambrgfkizvbjci0bnnkds9a8mnyb3sasnan")))) + (base32 "128v3gc6gj9622sp41az1jkcqnkbsdzvb2jpk12fpm1mmjcfgfvc")))) (build-system python-build-system) (inputs `(("openssh" ,openssh))) (propagated-inputs `(("python-pyyaml" ,python-pyyaml))) -- cgit v1.2.3