diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-02-10 02:21:33 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-02-10 17:45:39 +0100 |
commit | 9d67052661676f4835280f5a151637701c319264 (patch) | |
tree | 58241ac107487389a56d730f36f074e6a0e470aa /gnu/packages/xml.scm | |
parent | ef6a5fcc30dd56fa8ef7a4be53b98a736499b833 (diff) | |
download | guix-9d67052661676f4835280f5a151637701c319264.tar.gz |
gnu: java-dom4j: Don't use unstable tarball.
* gnu/packages/xml.scm (java-dom4j)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r-- | gnu/packages/xml.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 0479b7ce0e..80dd6fb709 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1783,13 +1783,14 @@ package is in maintenance mode.") (name "java-dom4j") (version "2.1.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dom4j/dom4j/archive/" - "version-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dom4j/dom4j.git") + (commit (string-append "version-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "101drpnw6agmcvsi1jrfi0kn97r7liazrh5jbrip9vx26axn2fx9")) + "1827jljs8mps489fm7xw63cakdqwc5grilrr5n9spr2rlk76jpx3")) (modules '((guix build utils))) (snippet '(begin ;; Delete bundled jar archives. |