gnu: xlsx2csv: Don't use unstable tarball.

* gnu/packages/xml.scm (xlsx2csv)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2019-02-10 01:27:03 +01:00
parent 3255fc3bfe
commit 3047c7baae
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 10 additions and 9 deletions

View File

@ -55,6 +55,7 @@
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system ant) #:use-module (guix build-system ant)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -1204,15 +1205,15 @@ elements to their parents
(package (package
(name "xlsx2csv") (name "xlsx2csv")
(version "0.7.4") (version "0.7.4")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method git-fetch)
"https://github.com/dilshod/" (uri (git-reference
name "/archive/" version ".tar.gz")) (url "https://github.com/dilshod/xlsx2csv.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"029yp4nlgz079drqxg3kxda98a2lqwgbg8x5q6kfwjm90gnffzda")))) (base32 "168dm6p7w6pvgd87yb9hcxv9y0liv6mxgril202nfva68cp8y939"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:python ,python-2 ; use python-2 for the test script `(#:python ,python-2 ; use python-2 for the test script