mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
gnu: javacc: 'javacc' now inherits from 'javacc-4'.
* gnu/packages/java.scm (javacc, javacc-4): 'javacc' now inherits from 'javacc-4' instead of the opposite around.
This commit is contained in:
parent
39d7fdce45
commit
53fb0476ec
1 changed files with 24 additions and 23 deletions
|
@ -1948,27 +1948,31 @@ designs.")
|
||||||
license:asl2.0
|
license:asl2.0
|
||||||
license:cpl1.0)))))
|
license:cpl1.0)))))
|
||||||
|
|
||||||
(define-public javacc
|
(define-public javacc-4
|
||||||
(package
|
(package
|
||||||
(name "javacc")
|
(name "javacc")
|
||||||
(version "7.0.3")
|
(version "4.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/javacc/javacc/"
|
(uri (git-reference
|
||||||
"archive/" version ".tar.gz"))
|
(url "https://github.com/javacc/javacc.git")
|
||||||
(file-name (string-append "javacc-" version ".tar.gz"))
|
(commit "release_41")))
|
||||||
|
(file-name (string-append "javacc-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"111xc9mnmc5a6qz6x3xbhqc07y1lg2b996ggzw0hrblg42zya9xf"))))
|
"07ysav7j8r1c6h8qxrgqk6lwdp74ly0ad1935lragxml0qqc3ka0"))))
|
||||||
(build-system ant-build-system)
|
(build-system ant-build-system)
|
||||||
|
;; Tests fail with
|
||||||
|
;; /tmp/guix-build-javacc-4.1.drv-0/source/test/javacodeLA/build.xml:60:
|
||||||
|
;; JAVACODE failed
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'delete-bundled-libs
|
(add-after 'unpack 'delete-bundled-libs
|
||||||
(lambda _
|
(lambda _
|
||||||
(delete-file-recursively "lib") #t))
|
(delete-file-recursively "lib") #t))
|
||||||
(replace 'install (install-jars "target")))))
|
(replace 'install (install-jars "bin/lib")))))
|
||||||
(home-page "https://javacc.org/")
|
(home-page "https://javacc.org/")
|
||||||
(synopsis "Java parser generator")
|
(synopsis "Java parser generator")
|
||||||
(description "Java Compiler Compiler (JavaCC) is the most popular parser
|
(description "Java Compiler Compiler (JavaCC) is the most popular parser
|
||||||
|
@ -1980,29 +1984,26 @@ as tree building (via a tool called JJTree included with JavaCC), actions,
|
||||||
debugging, etc.")
|
debugging, etc.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public javacc-4
|
(define-public javacc
|
||||||
(package (inherit javacc)
|
(package
|
||||||
(version "4.1")
|
(inherit javacc-4)
|
||||||
|
(version "7.0.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method url-fetch)
|
||||||
(uri (git-reference
|
(uri (string-append "https://github.com/javacc/javacc/"
|
||||||
(url "https://github.com/javacc/javacc.git")
|
"archive/" version ".tar.gz"))
|
||||||
(commit "release_41")))
|
(file-name (string-append "javacc-" version ".tar.gz"))
|
||||||
(file-name (string-append "javacc-" version "-checkout"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"07ysav7j8r1c6h8qxrgqk6lwdp74ly0ad1935lragxml0qqc3ka0"))))
|
"111xc9mnmc5a6qz6x3xbhqc07y1lg2b996ggzw0hrblg42zya9xf"))))
|
||||||
;; Tests fail with
|
|
||||||
;; /tmp/guix-build-javacc-4.1.drv-0/source/test/javacodeLA/build.xml:60:
|
|
||||||
;; JAVACODE failed
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:test-target "test"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'delete-bundled-libs
|
(add-after 'unpack 'delete-bundled-libs
|
||||||
(lambda _
|
(lambda _
|
||||||
(delete-file-recursively "lib") #t))
|
(delete-file-recursively "lib") #t))
|
||||||
(replace 'install (install-jars "bin/lib")))))))
|
(replace 'install (install-jars "target")))))))
|
||||||
|
|
||||||
;; This is the last 3.x release of ECJ
|
;; This is the last 3.x release of ECJ
|
||||||
(define-public java-ecj-3
|
(define-public java-ecj-3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue