me
/
guix
Archived
1
0
Fork 0

gnu: java-lz4: Don't use unstable tarball.

* gnu/packages/java.scm (java-lz4)[source]: Download using git-fetch.
[arguments]: Add phase to make files writable.
master
Efraim Flashner 2020-04-19 22:20:54 +03:00
parent e9917c696b
commit 6632fc2897
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 10 additions and 5 deletions

View File

@ -9445,13 +9445,14 @@ by technical operatives or consultants working with enterprise platforms.")
(name "java-lz4")
(version "1.4.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/lz4/lz4-java/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/lz4/lz4-java")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"096dm57p2lzqk28n0j2p52x2j3cvnsd2dfqn43n7vbwrkjsy7y54"))))
"0ydjakhv3cz34mfvv14qrh2ksdxifgjwwagjy7r46qr3f68hnf6y"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "lz4.jar"
@ -9460,6 +9461,10 @@ by technical operatives or consultants working with enterprise platforms.")
#:tests? #f; FIXME: requires more dependencies
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-files-writable
(lambda _
(for-each make-file-writable (find-files "."))
#t))
(add-before 'configure 'generate-source
(lambda _
(with-directory-excursion "src/build/source_templates"