guix-commits
[Top][All Lists]
Advanced

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

10/11: gnu: libstrophe: Don't use unstable tarball.


From: guix-commits
Subject: 10/11: gnu: libstrophe: Don't use unstable tarball.
Date: Mon, 11 Nov 2019 21:34:21 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 3368917c26e7b293168cc1201e35beb9a28f98e5
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Nov 12 03:29:43 2019 +0100

    gnu: libstrophe: Don't use unstable tarball.
    
    * gnu/packages/messaging.scm (libstrophe)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/messaging.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 9c8e336..73af293 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1590,14 +1590,15 @@ manual SSL certificate verification.")
   (package
     (name "libstrophe")
     (version "0.9.3")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/strophe/libstrophe/archive/";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1zm4a7009lshwgj5x11vslrxj2zjgwshhhad3p05kvbp47v7jfwa"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/strophe/libstrophe.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1g1l0w9z9hdy5ncdvd9097gi7k7783did6py5h9camlpb2fnk5mk"))))
     (build-system gnu-build-system)
     (inputs
      `(("expat" ,expat)



reply via email to

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