guix-commits
[Top][All Lists]
Advanced

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

11/14: gnu: tinyxml2: Don't use unstable tarball.


From: guix-commits
Subject: 11/14: gnu: tinyxml2: Don't use unstable tarball.
Date: Sun, 10 Feb 2019 11:48:57 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 4bad4fbdf88b97274a18e6aa403ffea14ef11d80
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Feb 10 12:43:31 2019 +0100

    gnu: tinyxml2: Don't use unstable tarball.
    
    * gnu/packages/xml.scm (tinyxml2)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/xml.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index e09fde7..19391ea 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1096,16 +1096,16 @@ C++ programming language.")
     (version "4.0.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/leethomason/tinyxml2/archive/";
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/leethomason/tinyxml2.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "083z4r4khcndxi9k840lcr48sqxvar4gpsnf749xfdn1bkr8xcql"))))
+        (base32 "1a0skfi8rzk53qcxbv88qlvhlqzvsvg4hm20dnx4zw7vrn6anr9y"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f))    ; no tests
+     `(#:tests? #f))                    ; no tests
     (synopsis "Small XML parser for C++")
     (description "TinyXML2 is a small and simple XML parsing library for the
 C++ programming language.")



reply via email to

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