mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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.
This commit is contained in:
parent
3159fcf145
commit
819ead3592
1 changed files with 10 additions and 4 deletions
|
@ -9538,18 +9538,24 @@ (define-public java-hdrhistogram
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue