guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: gnu: clustershell: Fetch sources from Git.


From: guix-commits
Subject: 05/06: gnu: clustershell: Fetch sources from Git.
Date: Sat, 27 Nov 2021 22:17:04 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 511a8f8d468ad64ec8e117c827573f58552fdceb
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Nov 27 22:36:49 2021 +0100

    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 00bcdb6..c8a1dbb 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]