gnu: javacc: Don't use unstable tarball.
* gnu/packages/java.scm (javacc)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
parent
6b66e47052
commit
ebf8048d14
|
@ -2268,14 +2268,15 @@ debugging, etc.")
|
||||||
(package
|
(package
|
||||||
(inherit javacc-4)
|
(inherit javacc-4)
|
||||||
(version "7.0.4")
|
(version "7.0.4")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/javacc/javacc/"
|
(method git-fetch)
|
||||||
"archive/" version ".tar.gz"))
|
(uri (git-reference
|
||||||
(file-name (string-append "javacc-" version ".tar.gz"))
|
(url "https://github.com/javacc/javacc.git")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name "javacc" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "18kkak3gda93gr25jrgy6q00g0jr8i24ri2wk4kybz1v234fxx9i"))
|
||||||
"0z7p9irwarc3avlcdyv9bd3zz57m1aawj8dr95wgxzg5z8fki8m6"))
|
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
;; Delete bundled jars.
|
;; Delete bundled jars.
|
||||||
(snippet '(begin (for-each delete-file-recursively
|
(snippet '(begin (for-each delete-file-recursively
|
||||||
|
|
Loading…
Reference in New Issue