aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 01:27:03 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 17:45:39 +0100
commit3047c7baae84271080336936e12c89bad5c3559f (patch)
tree62d897c454e080db186e145575c88e2efeb90823 /gnu/packages/xml.scm
parent3255fc3bfef07dfce0ee66993639fd02b7c52610 (diff)
downloadguix-3047c7baae84271080336936e12c89bad5c3559f.tar
guix-3047c7baae84271080336936e12c89bad5c3559f.tar.gz
gnu: xlsx2csv: Don't use unstable tarball.
* gnu/packages/xml.scm (xlsx2csv)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 7d67788804..0479b7ce0e 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -55,6 +55,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system ant)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
@@ -1204,15 +1205,15 @@ elements to their parents
(package
(name "xlsx2csv")
(version "0.7.4")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/dilshod/"
- name "/archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "029yp4nlgz079drqxg3kxda98a2lqwgbg8x5q6kfwjm90gnffzda"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dilshod/xlsx2csv.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "168dm6p7w6pvgd87yb9hcxv9y0liv6mxgril202nfva68cp8y939"))))
(build-system python-build-system)
(arguments
`(#:python ,python-2 ; use python-2 for the test script