diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-09-14 21:32:10 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-14 23:13:22 +0300 |
commit | 819ead3592e70bbb9c4451462ce7806368e0d41a (patch) | |
tree | 2e1e71253bf116ab71354d5431f697453e6d15f5 | |
parent | 3159fcf14519f02c79ad84b441985982cb1efeb9 (diff) | |
download | guix-819ead3592e70bbb9c4451462ce7806368e0d41a.tar.gz |
gnu: java-hdrhistogram: Don't use unstable tarball.
* gnu/packages/java.scm (java-hdrhistogram)[source]: Download using git-fetch. [arguments]: Add phase to make source writable.
-rw-r--r-- | gnu/packages/java.scm | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 3590ea9c1e..1ef2ab3584 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -9538,18 +9538,24 @@ make data-binding work.") (name "java-hdrhistogram") (version "2.1.9") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/HdrHistogram/HdrHistogram/" - "archive/HdrHistogram-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/HdrHistogram/HdrHistogram") + (commit (string-append "HdrHistogram-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1sicbmc3sr42nw93qbkb26q9rn33ag33k6k77phjc3j5h5gjffqv")))) + "1cw8aa1vk258k42xs6wpy72m4gbai540jq032qsa7c5586iawx2d")))) (build-system ant-build-system) (arguments `(#:jar-name "java-hdrhistogram.jar" #:source-dir "src/main/java" #:phases (modify-phases %standard-phases + (add-after 'unpack 'make-files-writable + (lambda _ + (for-each make-file-writable (find-files ".")) + #t)) (add-before 'configure 'set-version (lambda _ (let* ((version-java "src/main/java/org/HdrHistogram/Version.java") |