[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
49/110: gnu: Add javacc-3.
From: |
guix-commits |
Subject: |
49/110: gnu: Add javacc-3. |
Date: |
Thu, 16 Jul 2020 22:23:24 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit aabaac7d85971a4e6b8826f6412b7cd40d42bbcc
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sun May 17 18:01:32 2020 +0200
gnu: Add javacc-3.
* gnu/packages/java.scm (javacc-3): New variable.
---
gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e5e7586..f3c8abe 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2696,6 +2696,35 @@ as tree building (via a tool called JJTree included with
JavaCC), actions,
debugging, etc.")
(license license:bsd-3)))
+;; javacc-3, as javacc-4 is not properly bootstrapped: is contains a javacc.jar
+;; in the bootstrap/ directory.
+(define-public javacc-3
+ (package
+ (inherit javacc-4)
+ (version "3.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/javacc/javacc.git")
+ (commit "release_32")))
+ (file-name (string-append "javacc-" version "-checkout"))
+ (sha256
+ (base32
+ "1pyf1xyh8gk83nxqn2v2mdws32l68ydznha41cxa4l2kkbq1v1g3"))))
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-java-version
+ (lambda _
+ (for-each
+ (lambda (file)
+ (substitute* file
+ (("debug=") "source=\"1.4\" debug=")))
+ (find-files "." "build.xml"))
+ #t))
+ (replace 'install (install-jars "bin/lib")))))))
+
(define-public javacc
(package
(inherit javacc-4)
- 32/110: gnu: Add plexus-parent-pom-6.1., (continued)
- 32/110: gnu: Add plexus-parent-pom-6.1., guix-commits, 2020/07/16
- 37/110: gnu: Add maven-parent-pom-22., guix-commits, 2020/07/16
- 30/110: gnu: Add plexus-parent-pom-4.0., guix-commits, 2020/07/16
- 31/110: gnu: add plexus-parent-pom-5.1., guix-commits, 2020/07/16
- 35/110: gnu: Add maven-parent-pom-27., guix-commits, 2020/07/16
- 38/110: gnu: add maven-parent-pom-31., guix-commits, 2020/07/16
- 39/110: gnu: Add maven-plugins-pom-23., guix-commits, 2020/07/16
- 41/110: gnu: Add maven-components-parent-pom-21., guix-commits, 2020/07/16
- 45/110: gnu: Add java-plexus-utils-3.3.0., guix-commits, 2020/07/16
- 46/110: gnu: java-plexus-io: Update to 3.2.0., guix-commits, 2020/07/16
- 49/110: gnu: Add javacc-3.,
guix-commits <=
- 23/110: gnu: Add java-sonatype-forge-parent-pom-10., guix-commits, 2020/07/16
- 27/110: gnu: Add java-sonatype-oss-parent-pom-7., guix-commits, 2020/07/16
- 29/110: gnu: Add plexus-parent-pom-3.1., guix-commits, 2020/07/16
- 33/110: gnu: Add maven-parent-pom-33., guix-commits, 2020/07/16
- 40/110: gnu: Add maven-components-parent-pom-22., guix-commits, 2020/07/16
- 42/110: gnu: java-commons-lang3: Update to 3.9., guix-commits, 2020/07/16
- 47/110: gnu: java-plexus-classworlds: Update to 2.6.0., guix-commits, 2020/07/16
- 54/110: gnu: maven: Install from pom file., guix-commits, 2020/07/16
- 57/110: gnu: Add java-plexus-digest., guix-commits, 2020/07/16
- 26/110: gnu: Add java-sonatype-spice-parent-pom-12., guix-commits, 2020/07/16