diff options
author | Mark H Weaver <mhw@netris.org> | 2016-11-07 00:33:16 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2016-11-07 00:33:16 -0500 |
commit | 71e21fb26dceef7a665b3b1c0dec7ebd92d8ec82 (patch) | |
tree | 7553a6f9ee2ed7494968e7277897098559eacf23 /gnu/packages/java.scm | |
parent | 19ac2ba858ebc46db96364809ebfc129be9e4ccf (diff) | |
parent | 14ac8e4865206f5cd1278cd962d01ce27890d51f (diff) | |
download | patches-71e21fb26dceef7a665b3b1c0dec7ebd92d8ec82.tar patches-71e21fb26dceef7a665b3b1c0dec7ebd92d8ec82.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r-- | gnu/packages/java.scm | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 36c10d0fd0..df8a970e0c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1180,16 +1180,16 @@ an Ant task that extends the built-in @code{jar} task.") (version "1.3") (source (origin (method url-fetch) - (uri (string-append "https://hamcrest.googlecode.com/files/" - "hamcrest-" version ".tgz")) + (uri (string-append "https://github.com/hamcrest/JavaHamcrest/" + "archive/hamcrest-java-" version ".tar.gz")) (sha256 (base32 - "1hi0jv0zrgsf4l25aizxrgvxpsrmdklsmvw0jzwz7zv9s108whn6")) + "11g0s105fmwzijbv08lx8jlb521yravjmxnpgdx08fvg1kjivhva")) (modules '((guix build utils))) (snippet '(begin - ;; Delete bundled jar archives. - (for-each delete-file (find-files "." "\\.jar$")) + ;; Delete bundled thirds-party jar archives. + (delete-file-recursively "lib") #t)))) (build-system ant-build-system) (arguments @@ -1237,6 +1237,12 @@ private Method[] allMethods = getSortedMethods();"))))) (string-append (assoc-ref inputs "java-qdox-1.12") "/share/java/qdox.jar"))) #t)) + ;; build.xml searches for .jar files in this directoy, which + ;; we remove from the source archive. + (add-before 'build 'create-dummy-directories + (lambda _ + (mkdir-p "lib/integration") + #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (install-file (string-append "build/hamcrest-core-" |