Remove pushed packages
more/packages/java.scm
1122 | 1122 | from ORO, Inc.") | |
1123 | 1123 | (license license:asl2.0))) | |
1124 | 1124 | ||
1125 | - | ;; As of 2010-09-01, the ORO project is retired | |
1126 | - | (define-public java-jakarta-oro | |
1127 | - | (package | |
1128 | - | (name "java-jakarta-oro") | |
1129 | - | (version "2.0.8") | |
1130 | - | (source (origin | |
1131 | - | (method url-fetch) | |
1132 | - | (uri (string-append "https://archive.apache.org/dist/jakarta/oro/" | |
1133 | - | "jakarta-oro-" version ".tar.gz")) | |
1134 | - | (sha256 | |
1135 | - | (base32 | |
1136 | - | "0rpmnsskiwmsy8r0sckz5n5dbvh3vkxx8hpm177c754r8xy3qksc")))) | |
1137 | - | (build-system ant-build-system) | |
1138 | - | (arguments | |
1139 | - | `(#:build-target "package" | |
1140 | - | #:tests? #f; tests are run as part of the build process | |
1141 | - | #:phases | |
1142 | - | (modify-phases %standard-phases | |
1143 | - | (add-after 'unpack 'remove-bin | |
1144 | - | (lambda _ | |
1145 | - | (delete-file (string-append "jakarta-oro-" ,version ".jar")))) | |
1146 | - | (replace 'install | |
1147 | - | (install-jars ,(string-append "jakarta-oro-" version)))))) | |
1148 | - | (home-page "https://jakarta.apache.org/oro/") | |
1149 | - | (synopsis "Text-processing for Java") | |
1150 | - | (description "The Jakarta-ORO Java classes are a set of text-processing | |
1151 | - | Java classes that provide Perl5 compatible regular expressions, AWK-like | |
1152 | - | regular expressions, glob expressions, and utility classes for performing | |
1153 | - | substitutions, splits, filtering filenames, etc. This library is the successor | |
1154 | - | of the OROMatcher, AwkTools, PerlTools, and TextTools libraries originally | |
1155 | - | from ORO, Inc.") | |
1156 | - | (license license:asl2.0))) | |
1157 | - | ||
1158 | 1125 | (define-public java-bouncycastle-bctls | |
1159 | 1126 | (package | |
1160 | 1127 | (name "java-bouncycastle-bctls") | |
… | |||
2192 | 2159 | (description "") | |
2193 | 2160 | (license license:asl2.0))) | |
2194 | 2161 | ||
2195 | - | ;; Older version, unmaintained, for jcs. | |
2196 | - | (define-public java-commons-httpclient | |
2197 | - | (package | |
2198 | - | (name "java-commons-httpclient") | |
2199 | - | (version "3.1") | |
2200 | - | (source (origin | |
2201 | - | (method url-fetch) | |
2202 | - | (uri (string-append "https://archive.apache.org/dist/httpcomponents/" | |
2203 | - | "commons-httpclient/source/commons-httpclient-" | |
2204 | - | version "-src.tar.gz")) | |
2205 | - | (sha256 | |
2206 | - | (base32 | |
2207 | - | "1wlpn3cfy3d4inxy6g7wxcsa8p7sshn6aldk9y4ia3lb879rd97r")))) | |
2208 | - | (build-system ant-build-system) | |
2209 | - | (arguments | |
2210 | - | `(#:build-target "compile" | |
2211 | - | #:test-target "test" | |
2212 | - | #:tests? #f; requires junit-textui (junit 3) | |
2213 | - | #:phases | |
2214 | - | (modify-phases %standard-phases | |
2215 | - | (add-before 'build 'fix-accent | |
2216 | - | (lambda _ | |
2217 | - | (for-each (lambda (file) | |
2218 | - | (with-fluids ((%default-port-encoding "ISO-8859-1")) | |
2219 | - | (substitute* file | |
2220 | - | (("\\* @author Ortwin .*") "* @author Ortwin Gluck\n")))) | |
2221 | - | '("src/java/org/apache/commons/httpclient/HttpContentTooLargeException.java" | |
2222 | - | "src/examples/TrivialApp.java" "src/examples/ClientApp.java" | |
2223 | - | "src/test/org/apache/commons/httpclient/TestHttps.java" | |
2224 | - | "src/test/org/apache/commons/httpclient/TestURIUtil2.java")))) | |
2225 | - | (replace 'install | |
2226 | - | (lambda* (#:key outputs #:allow-other-keys) | |
2227 | - | (zero? (system* "ant" "dist" | |
2228 | - | (string-append "-Ddist.home=" (assoc-ref outputs "out") | |
2229 | - | "/share/java")))))))) | |
2230 | - | (propagated-inputs | |
2231 | - | `(("java-commons-logging" ,java-commons-logging-minimal) | |
2232 | - | ("java-commons-codec" ,java-commons-codec))) | |
2233 | - | (home-page "https://hc.apache.org") | |
2234 | - | (synopsis "") | |
2235 | - | (description "") | |
2236 | - | (license license:asl2.0))) | |
2237 | - | ||
2238 | 2162 | (define-public java-httpcomponents-core | |
2239 | 2163 | (package | |
2240 | 2164 | (name "java-httpcomponents-core") | |
… | |||
2581 | 2505 | (license license:bsd-3))) | |
2582 | 2506 | ||
2583 | 2507 | ; propose update | |
2584 | - | ;(define-public java-commons-cli | |
2585 | - | ; (package | |
2586 | - | ; (name "java-commons-cli") | |
2587 | - | ; (version "1.4") | |
2588 | - | ; (source (origin | |
2589 | - | ; (method url-fetch) | |
2590 | - | ; (uri (string-append "http://mirrors.ircam.fr/pub/apache/commons/" | |
2591 | - | ; "cli/source/commons-cli-" version "-src.tar.gz")) | |
2592 | - | ; (file-name (string-append name "-" version ".tar.gz")) | |
2593 | - | ; (sha256 | |
2594 | - | ; (base32 | |
2595 | - | ; "05hgi2z01fqz374y719gl1dxzqvzci5af071zm7vxrjg9vczipm1")))) | |
2596 | - | ; (build-system ant-build-system) | |
2597 | - | ; (arguments | |
2598 | - | ; `(#:jar-name "commons-cli-1.4.jar" | |
2599 | - | ; #:tests? #f)) | |
2600 | - | ; (native-inputs | |
2601 | - | ; `(("java-junit" ,java-junit))) | |
2602 | - | ; (home-page "https://commons.apache.org/proper/commons-cli") | |
2603 | - | ; (synopsis "Java API for parsing command line options passed to programs") | |
2604 | - | ; (description "Apache Commons CLI library provides an API for parsing command | |
2605 | - | ;line options passed to programs. It's also able to print help messages detailing | |
2606 | - | ;the options available for a command line tool.") | |
2607 | - | ; (license license:asl2.0))) | |
2608 | - | ||
2609 | - | ; propose update | |
2610 | 2508 | ;(define-public java-jsr305 | |
2611 | 2509 | ; (package | |
2612 | 2510 | ; (name "java-jsr305") | |
… | |||
3173 | 3071 | (description "") | |
3174 | 3072 | (license license:bsd-2))) | |
3175 | 3073 | ||
3176 | - | (define-public java-jline-2 | |
3177 | - | (package | |
3178 | - | (inherit java-jline) | |
3179 | - | (version "2.14.5") | |
3180 | - | (source (origin | |
3181 | - | (method url-fetch) | |
3182 | - | (uri (string-append "https://github.com/jline/jline2/archive/jline-" | |
3183 | - | version ".tar.gz")) | |
3184 | - | (sha256 | |
3185 | - | (base32 | |
3186 | - | "1c6qa26mf0viw8hg4jnv72s7i1qb1gh1l8rrzcdvqhqhx82rkdlf")))) | |
3187 | - | (arguments | |
3188 | - | `(#:jdk ,icedtea-8 | |
3189 | - | ,@(package-arguments java-jline))) | |
3190 | - | (inputs | |
3191 | - | `(("java-jansi" ,java-jansi) | |
3192 | - | ("java-jansi-native" ,java-jansi-native))) | |
3193 | - | (native-inputs | |
3194 | - | `(("java-powermock-modules-junit4" ,java-powermock-modules-junit4) | |
3195 | - | ("java-powermock-modules-junit4-common" ,java-powermock-modules-junit4-common) | |
3196 | - | ("java-powermock-api-easymock" ,java-powermock-api-easymock) | |
3197 | - | ("java-powermock-api-support" ,java-powermock-api-support) | |
3198 | - | ("java-powermock-core" ,java-powermock-core) | |
3199 | - | ("java-powermock-reflect" ,java-powermock-reflect) | |
3200 | - | ("java-easymock" ,java-easymock) | |
3201 | - | ("java-jboss-javassist" ,java-jboss-javassist) | |
3202 | - | ("java-objenesis" ,java-objenesis) | |
3203 | - | ("java-asm" ,java-asm) | |
3204 | - | ("java-hamcrest-core" ,java-hamcrest-core) | |
3205 | - | ("java-cglib" ,java-cglib) | |
3206 | - | ("java-junit" ,java-junit) | |
3207 | - | ("java-hawtjni" ,java-hawtjni))))) | |
3208 | - | ||
3209 | 3074 | ;; vanished from the face of the earth :/ | |
3210 | 3075 | (define-public java-jsonp | |
3211 | 3076 | (package | |
… | |||
3231 | 3096 | (license (list license:gpl2 | |
3232 | 3097 | license:cddl1.1)))) | |
3233 | 3098 | ||
3234 | - | (define-public java-commons-bsf | |
3235 | - | (package | |
3236 | - | (name "java-commons-bsf") | |
3237 | - | (version "2.4.0") | |
3238 | - | (source (origin | |
3239 | - | (method url-fetch) | |
3240 | - | (uri (string-append "mirror://apache/commons/bsf/source/bsf-src-" | |
3241 | - | version ".tar.gz")) | |
3242 | - | (sha256 | |
3243 | - | (base32 | |
3244 | - | "1sbamr8jl32p1jgf59nw0b2w9qivyg145954hm6ly54cfgsqrdas")) | |
3245 | - | (modules '((guix build utils))) | |
3246 | - | (snippet | |
3247 | - | '(begin | |
3248 | - | (for-each delete-file | |
3249 | - | (find-files "." "\\.jar$")) | |
3250 | - | #t)))) | |
3251 | - | (build-system ant-build-system) | |
3252 | - | (arguments | |
3253 | - | `(#:build-target "jar" | |
3254 | - | #:tests? #f; No test file | |
3255 | - | #:modules ((guix build ant-build-system) | |
3256 | - | (guix build utils) | |
3257 | - | (guix build java-utils) | |
3258 | - | (sxml simple)) | |
3259 | - | #:phases | |
3260 | - | (modify-phases %standard-phases | |
3261 | - | (add-before 'build 'create-properties | |
3262 | - | (lambda _ | |
3263 | - | ;; This file is missing from the distribution | |
3264 | - | (call-with-output-file "build-properties.xml" | |
3265 | - | (lambda (port) | |
3266 | - | (sxml->xml | |
3267 | - | `(project (@ (basedir ".") (name "build-properties") (default "")) | |
3268 | - | (property (@ (name "project.name") (value "bsf"))) | |
3269 | - | (property (@ (name "source.level") (value "1.5"))) | |
3270 | - | (property (@ (name "build.lib") (value "build/jar"))) | |
3271 | - | (property (@ (name "src.dir") (value "src"))) | |
3272 | - | (property (@ (name "tests.dir") (value "src/org/apache/bsf/test"))) | |
3273 | - | (property (@ (name "build.tests") (value "build/test-classes"))) | |
3274 | - | (property (@ (name "build.dest") (value "build/classes")))) | |
3275 | - | port))))) | |
3276 | - | (replace 'install (install-jars "build"))))) | |
3277 | - | (native-inputs | |
3278 | - | `(("java-junit" ,java-junit))) | |
3279 | - | (inputs | |
3280 | - | `(("java-commons-logging-minimal" ,java-commons-logging-minimal))) | |
3281 | - | (home-page "https://commons.apache.org/proper/commons-bsf") | |
3282 | - | (synopsis "Bean Scripting Framework") | |
3283 | - | (description "The Bean Scripting Framework (BSF) is a set of Java classes | |
3284 | - | which provides scripting language support within Java applications, and access | |
3285 | - | to Java objects and methods from scripting languages. BSF allows one to write | |
3286 | - | JSPs in languages other than Java while providing access to the Java class | |
3287 | - | library. In addition, BSF permits any Java application to be implemented in | |
3288 | - | part (or dynamically extended) by a language that is embedded within it. This | |
3289 | - | is achieved by providing an API that permits calling scripting language engines | |
3290 | - | from within Java, as well as an object registry that exposes Java objects to | |
3291 | - | these scripting language engines.") | |
3292 | - | (license license:asl2.0))) | |
3293 | - | ||
3294 | 3099 | (define-public java-apache-ivy-bootstrap | |
3295 | 3100 | (package | |
3296 | 3101 | (name "java-apache-ivy-bootstrap") | |
… | |||
4029 | 3834 | `(("unzip" ,unzip) | |
4030 | 3835 | ("java-junit" ,java-junit))))) | |
4031 | 3836 | ||
4032 | - | (define-public java-commons-vfs | |
4033 | - | (package | |
4034 | - | (name "java-commons-vfs") | |
4035 | - | (version "2.2") | |
4036 | - | (source (origin | |
4037 | - | (method url-fetch) | |
4038 | - | (uri (string-append "mirror://apache/commons/vfs/source/" | |
4039 | - | "commons-vfs2-distribution-" version "-src.tar.gz")) | |
4040 | - | (file-name (string-append name "-" version ".tar.gz")) | |
4041 | - | (sha256 | |
4042 | - | (base32 | |
4043 | - | "1cnq1iaghbp4cslpnvwbp83i5v234x87irssqynhwpfgw7caf1s3")))) | |
4044 | - | (build-system ant-build-system) | |
4045 | - | (arguments | |
4046 | - | `(#:jar-name "commons-vfs.jar" | |
4047 | - | #:source-dir "commons-vfs2/src/main/java" | |
4048 | - | #:tests? #f; no tests | |
4049 | - | #:phases | |
4050 | - | (modify-phases %standard-phases | |
4051 | - | (add-before 'build 'remove-hadoop-and-webdav | |
4052 | - | ; Remove these files as they are not required and depend on difficult | |
4053 | - | ; packages. | |
4054 | - | (lambda _ | |
4055 | - | (for-each delete-file-recursively | |
4056 | - | '("commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/webdav" | |
4057 | - | "commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/hdfs"))))))) | |
4058 | - | (inputs | |
4059 | - | `(("java-commons-collections4" ,java-commons-collections4) | |
4060 | - | ("java-commons-compress" ,java-commons-compress) | |
4061 | - | ("java-commons-httpclient" ,java-commons-httpclient) | |
4062 | - | ("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
4063 | - | ("java-commons-net" ,java-commons-net) | |
4064 | - | ("java-jsch" ,java-jsch))) | |
4065 | - | (home-page "http://commons.apache.org/proper/commons-vfs/") | |
4066 | - | (synopsis "") | |
4067 | - | (description "") | |
4068 | - | (license license:asl2.0))) | |
4069 | - | ||
4070 | 3837 | (define-public java-commons-jxpath | |
4071 | 3838 | (package | |
4072 | 3839 | (name "java-commons-jxpath") | |
… | |||
4588 | 4355 | (native-inputs | |
4589 | 4356 | `(("groovy" ,groovy))))) | |
4590 | 4357 | ||
4591 | - | ;; TODO: build the native library | |
4592 | - | (define-public java-native-access | |
4593 | - | (package | |
4594 | - | (name "java-native-access") | |
4595 | - | (version "4.5.1") | |
4596 | - | (source (origin | |
4597 | - | (method url-fetch) | |
4598 | - | (uri (string-append "https://github.com/java-native-access/jna/" | |
4599 | - | "archive/" version ".tar.gz")) | |
4600 | - | (file-name (string-append name "-" version ".tar.gz")) | |
4601 | - | (sha256 | |
4602 | - | (base32 | |
4603 | - | "0zrpzkib6b905i018a9pqlzkqinphywr6y4jwv6mwp63jjqvqkd9")) | |
4604 | - | (modules '((guix build utils))) | |
4605 | - | (snippet | |
4606 | - | `(for-each delete-file (find-files "." ".*.jar"))))) | |
4607 | - | (build-system ant-build-system) | |
4608 | - | (arguments | |
4609 | - | `(#:tests? #f; FIXME: tests require reflections.jar | |
4610 | - | #:test-target "test" | |
4611 | - | #:make-flags (list "-Ddynlink.native=true") | |
4612 | - | #:phases | |
4613 | - | (modify-phases %standard-phases | |
4614 | - | (add-before 'build 'fix-build.xml | |
4615 | - | (lambda* (#:key inputs #:allow-other-keys) | |
4616 | - | (substitute* "build.xml" | |
4617 | - | ;; Since we removed the bundled ant.jar, give the correct path | |
4618 | - | (("lib/ant.jar") (string-append (assoc-ref inputs "ant") "/lib/ant.jar")) | |
4619 | - | ;; We removed generated native libraries. We can only rebuild one | |
4620 | - | ;; so don't fail if we can't find a native library for another architecture. | |
4621 | - | (("zipfileset") "zipfileset erroronmissingarchive=\"false\"")) | |
4622 | - | ;; Copy test dependencies | |
4623 | - | (copy-file (string-append (assoc-ref inputs "java-junit") | |
4624 | - | "/share/java/junit.jar") | |
4625 | - | "lib/junit.jar") | |
4626 | - | (copy-file (string-append (assoc-ref inputs "java-hamcrest-core") | |
4627 | - | "/share/java/hamcrest-core.jar") | |
4628 | - | "lib/hamcrest-core.jar") | |
4629 | - | ;; FIXME: once reflections.jar is built, copy it to lib/test. | |
4630 | - | #t)) | |
4631 | - | (add-before 'build 'build-native | |
4632 | - | (lambda _ | |
4633 | - | (invoke "ant" "-Ddynlink.native=true" "native") | |
4634 | - | #t)) | |
4635 | - | (replace 'install | |
4636 | - | (install-jars "build"))))) | |
4637 | - | (inputs | |
4638 | - | `(("libffi" ,libffi) | |
4639 | - | ("libx11" ,libx11) | |
4640 | - | ("libxt" ,libxt))) | |
4641 | - | (native-inputs | |
4642 | - | `(("java-junit" ,java-junit) | |
4643 | - | ("java-hamcrest-core" ,java-hamcrest-core))) | |
4644 | - | (home-page "https://github.com/java-native-access/jna") | |
4645 | - | (synopsis "Access to native shared libraries from Java") | |
4646 | - | (description "JNA provides Java programs easy access to native shared | |
4647 | - | libraries without writing anything but Java code - no JNI or native code is | |
4648 | - | required. JNA allows you to call directly into native functions using natural | |
4649 | - | Java method invocation.") | |
4650 | - | ;; Java Native Access project (JNA) is dual-licensed under 2 | |
4651 | - | ;; alternative Open Source/Free licenses: LGPL 2.1 or later and | |
4652 | - | ;; Apache License 2.0. (starting with JNA version 4.0.0). | |
4653 | - | (license (list | |
4654 | - | license:asl2.0 | |
4655 | - | license:lgpl2.1+)))) | |
4656 | - | ||
4657 | - | (define-public java-native-access-platform | |
4658 | - | (package | |
4659 | - | (inherit java-native-access) | |
4660 | - | (name "java-native-access-platform") | |
4661 | - | (arguments | |
4662 | - | `(#:jar-name "jna-platform.jar" | |
4663 | - | #:tests? #f; no tests | |
4664 | - | #:source-dir "contrib/platform/src")) | |
4665 | - | (inputs | |
4666 | - | `(("java-native-access" ,java-native-access))))) | |
4667 | - | ||
4668 | 4358 | (define-public java-jsch-agentproxy-core | |
4669 | 4359 | (package | |
4670 | 4360 | (name "java-jsch-agentproxy-core") |