gnu: clustershell: Fetch sources from Git.

* gnu/packages/ssh.scm (clustershell)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-27 22:36:49 +01:00
parent 42c4acf026
commit 511a8f8d46
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -827,12 +827,13 @@ (define-public clustershell
(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)))