aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 15:30:24 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 17:45:41 +0100
commitb05bc3c487a66c9ceddd59ae068b90ab5c16ddcd (patch)
tree71059b8d55cbefbd0153b19725b305830c104e4f /gnu/packages/xml.scm
parenteed5e162adef90324e46dc45ab83dff1a471bcf8 (diff)
downloadguix-b05bc3c487a66c9ceddd59ae068b90ab5c16ddcd.tar
guix-b05bc3c487a66c9ceddd59ae068b90ab5c16ddcd.tar.gz
gnu: java-xstream: Don't use unstable tarball.
* gnu/packages/xml.scm (java-xstream)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm24
1 files changed, 13 insertions, 11 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 3a320351e9..52f1533699 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1994,20 +1994,22 @@ outputting XML data from Java code.")
(package
(name "java-xstream")
(version "1.4.10")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/x-stream/xstream/archive/XSTREAM_"
- (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)
- ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "10zbkam05wirxipvgrjimdwsyqrwl4a0n7lhvxbsssqpv727469g"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/x-stream/xstream.git")
+ (commit (string-append
+ "XSTREAM_"
+ (string-map (lambda (x) (if (eq? x #\.) #\_ x))
+ version)))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12m2bw8bapdc1w0pni9wl5hh2y8jfdgcvxd464jl9917dsp3ai2n"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "xstream.jar"
- ;; FIXME: Tests are not in a java subdirectory as assumed by ant-build-system
+ ;; FIXME: Tests are not in a java subdirectory as assumed by ant-build-system.
#:tests? #f
#:jdk ,icedtea-8
#:source-dir "xstream/src/java"))