gnu: java-xstream: Don't use unstable tarball.
* gnu/packages/xml.scm (java-xstream)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
parent
eed5e162ad
commit
b05bc3c487
|
@ -1994,20 +1994,22 @@ outputting XML data from Java code.")
|
||||||
(package
|
(package
|
||||||
(name "java-xstream")
|
(name "java-xstream")
|
||||||
(version "1.4.10")
|
(version "1.4.10")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append
|
(method git-fetch)
|
||||||
"https://github.com/x-stream/xstream/archive/XSTREAM_"
|
(uri (git-reference
|
||||||
(string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)
|
(url "https://github.com/x-stream/xstream.git")
|
||||||
".tar.gz"))
|
(commit (string-append
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
"XSTREAM_"
|
||||||
(sha256
|
(string-map (lambda (x) (if (eq? x #\.) #\_ x))
|
||||||
(base32
|
version)))))
|
||||||
"10zbkam05wirxipvgrjimdwsyqrwl4a0n7lhvxbsssqpv727469g"))))
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "12m2bw8bapdc1w0pni9wl5hh2y8jfdgcvxd464jl9917dsp3ai2n"))))
|
||||||
(build-system ant-build-system)
|
(build-system ant-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:jar-name "xstream.jar"
|
`(#: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
|
#:tests? #f
|
||||||
#:jdk ,icedtea-8
|
#:jdk ,icedtea-8
|
||||||
#:source-dir "xstream/src/java"))
|
#:source-dir "xstream/src/java"))
|
||||||
|
|
Loading…
Reference in New Issue