gnu: tinyxml2: Don't use unstable tarball.

* gnu/packages/xml.scm (tinyxml2)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2019-02-10 12:43:31 +01:00
parent 951bdf5adf
commit 4bad4fbdf8
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 7 deletions

View File

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