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")
(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.")