[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/14: gnu: java-kxml2: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
09/14: gnu: java-kxml2: Don't use unstable tarball. |
Date: |
Sun, 10 Feb 2019 11:48:57 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 00fc938983f70f9ff9522133380a48495a5a4114
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sun Feb 10 02:37:28 2019 +0100
gnu: java-kxml2: Don't use unstable tarball.
* gnu/packages/xml.scm (java-kxml2)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[arguments]: Add 'make-git-checkout-writable' phase.
---
gnu/packages/xml.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 80dd6fb..f216482 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1856,13 +1856,14 @@ low memory footprint.")
(name "java-kxml2")
(version "2.4.2")
(source (origin
- (method url-fetch)
- (uri (string-append
"https://github.com/stefanhaustein/kxml2/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stefanhaustein/kxml2.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "17kh04qf3vll1xx6sv06xlazw2hxa8qdmzyday9r6z2191jlj74w"))))
+ "0g6d8c9r9sh3x04sf4wdpgwvhkqvk11k3kq9skx91i60h4vn01hg"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "kxml2.jar"
@@ -1873,6 +1874,10 @@ low memory footprint.")
#:tests? #f
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'make-git-checkout-writable
+ (lambda _
+ (for-each make-file-writable (find-files "."))
+ #t))
(add-before 'build 'copy-resources
(lambda _
(copy-recursively "src/main/resources" "build/classes")
- branch master updated (9ce09a7 -> b05bc3c), guix-commits, 2019/02/10
- 03/14: gnu: clojure-algo-monads: Don't use unstable tarball., guix-commits, 2019/02/10
- 04/14: gnu: clojure-tools-macro: Don't use unstable tarball., guix-commits, 2019/02/10
- 01/14: gnu: xinetd: Don't use unstable tarball., guix-commits, 2019/02/10
- 09/14: gnu: java-kxml2: Don't use unstable tarball.,
guix-commits <=
- 13/14: gnu: java-xom: Don't use unstable tarball., guix-commits, 2019/02/10
- 12/14: gnu: java-jettison: Don't use unstable tarball., guix-commits, 2019/02/10
- 07/14: gnu: java-groovy-bootstrap: Don't use unstable tarball., guix-commits, 2019/02/10
- 06/14: gnu: xlsx2csv: Don't use unstable tarball., guix-commits, 2019/02/10
- 14/14: gnu: java-xstream: Don't use unstable tarball., guix-commits, 2019/02/10
- 10/14: gnu: java-jdom2: Don't use unstable tarball., guix-commits, 2019/02/10
- 11/14: gnu: tinyxml2: Don't use unstable tarball., guix-commits, 2019/02/10
- 08/14: gnu: java-dom4j: Don't use unstable tarball., guix-commits, 2019/02/10
- 02/14: gnu: clojure-algo-generic: Don't use unstable tarball., guix-commits, 2019/02/10
- 05/14: gnu: xlsx2csv: Update to 0.7.4., guix-commits, 2019/02/10