Remove pushed packages
more/packages/java.scm
322 | 322 | (description "OSM editor.") | |
323 | 323 | (license license:gpl2+))) | |
324 | 324 | ||
325 | - | (define-public java-commons-collections | |
326 | - | (package | |
327 | - | (inherit java-commons-collections4) | |
328 | - | (name "java-commons-collections") | |
329 | - | (version "3.2.2") | |
330 | - | (source (origin | |
331 | - | (method url-fetch) | |
332 | - | (uri (string-append "mirror://apache/commons/collections/source/" | |
333 | - | "commons-collections-" version "-src.tar.gz")) | |
334 | - | (sha256 | |
335 | - | (base32 | |
336 | - | "055r51a5lfc3z7rkxnxmnn1npvkvda7636hjpm4qk7cnfzz98387")))) | |
337 | - | (arguments | |
338 | - | (substitute-keyword-arguments (package-arguments java-commons-collections4) | |
339 | - | ((#:phases phases) | |
340 | - | `(modify-phases ,phases | |
341 | - | (add-before 'build 'add-manifest | |
342 | - | (lambda _ | |
343 | - | (mkdir-p "build/conf") | |
344 | - | (call-with-output-file "build/conf/MANIFEST.MF" | |
345 | - | (lambda (file) | |
346 | - | (format file "Manifest-Version: 1.0\n") | |
347 | - | (format file "Ant-Version: Apache Ant 1.9.9\n") | |
348 | - | (format file "Created-By: 1.8.0_131-b11 (Oracle Corporation)"))))) | |
349 | - | (replace 'install | |
350 | - | (install-jars "build")))))))) | |
351 | - | ||
352 | - | (define java-commons-collections-test-classes | |
353 | - | (package | |
354 | - | (inherit java-commons-collections) | |
355 | - | (arguments | |
356 | - | `(#:jar-name "commons-collections-test-classes.jar" | |
357 | - | #:source-dir "src/test" | |
358 | - | #:tests? #f)) | |
359 | - | (inputs | |
360 | - | `(("collection" ,java-commons-collections))))) | |
361 | - | ||
362 | 325 | (define-public java-jdom2 | |
363 | 326 | (package | |
364 | 327 | (name "java-jdom") | |
… | |||
417 | 380 | from ORO, Inc.") | |
418 | 381 | (license license:asl2.0))) | |
419 | 382 | ||
420 | - | (define-public java-jdom | |
421 | - | (package | |
422 | - | (name "java-jdom") | |
423 | - | (version "1.1.3") | |
424 | - | (source (origin | |
425 | - | (method url-fetch) | |
426 | - | (uri (string-append "http://jdom.org/dist/binary/archive/jdom-" | |
427 | - | version ".tar.gz")) | |
428 | - | (sha256 | |
429 | - | (base32 | |
430 | - | "07wdpm3jwwc9q38kmdw40fvbmv6jzjrkrf8m0zqs58f79a672wfl")))) | |
431 | - | (build-system ant-build-system) | |
432 | - | (arguments | |
433 | - | `(#:build-target "package" | |
434 | - | #:tests? #f; tests are run as part of the build process | |
435 | - | #:phases | |
436 | - | (modify-phases %standard-phases | |
437 | - | (replace 'install | |
438 | - | (install-jars "build"))))) | |
439 | - | (home-page "http://jdom.org/") | |
440 | - | (synopsis "Access, manipulate, and output XML data") | |
441 | - | (description " Java-based solution for accessing, manipulating, and | |
442 | - | outputting XML data from Java code.") | |
443 | - | (license license:bsd-4))) | |
444 | - | ||
445 | 383 | (define-public java-bouncycastle-bctls | |
446 | 384 | (package | |
447 | 385 | (name "java-bouncycastle-bctls") | |
… | |||
467 | 405 | (description "") | |
468 | 406 | (license license:expat))) | |
469 | 407 | ||
470 | - | (define-public bitshuffle-for-snappy | |
471 | - | (package | |
472 | - | (inherit bitshuffle) | |
473 | - | (name "bitshuffle-for-snappy") | |
474 | - | (build-system gnu-build-system) | |
475 | - | (arguments | |
476 | - | `(#:tests? #f | |
477 | - | #:phases | |
478 | - | (modify-phases %standard-phases | |
479 | - | (replace 'configure | |
480 | - | (lambda* (#:key outputs #:allow-other-keys) | |
481 | - | (with-output-to-file "Makefile" | |
482 | - | (lambda _ | |
483 | - | (display | |
484 | - | (string-append | |
485 | - | "libbitshuffle.so: src/bitshuffle.o src/bitshuffle_core.o " | |
486 | - | "src/iochain.o lz4/lz4.o\n" | |
487 | - | "\tgcc -O3 -ffast-math -std=c99 -o $@ -shared -fPIC $^\n" | |
488 | - | "\n" | |
489 | - | "%.o: %.c\n" | |
490 | - | "\tgcc -O3 -ffast-math -std=c99 -fPIC -Isrc -Ilz4 -c $< -o $@\n" | |
491 | - | "\n" | |
492 | - | "PREFIX:=" (assoc-ref outputs "out") "\n" | |
493 | - | "LIBDIR:=$(PREFIX)/lib\n" | |
494 | - | "INCLUDEDIR:=$(PREFIX)/include\n" | |
495 | - | "install: libbitshuffle.so\n" | |
496 | - | "\tinstall -dm755 $(LIBDIR)\n" | |
497 | - | "\tinstall -dm755 $(INCLUDEDIR)\n" | |
498 | - | "\tinstall -m755 libbitshuffle.so $(LIBDIR)\n" | |
499 | - | "\tinstall -m644 src/bitshuffle.h $(INCLUDEDIR)\n" | |
500 | - | "\tinstall -m644 src/bitshuffle_core.h $(INCLUDEDIR)\n" | |
501 | - | "\tinstall -m644 src/iochain.h $(INCLUDEDIR)\n" | |
502 | - | "\tinstall -m644 lz4/lz4.h $(INCLUDEDIR)\n"))))))))) | |
503 | - | (inputs '()) | |
504 | - | (native-inputs '()))) | |
505 | - | ||
506 | - | (define-public java-snappy | |
507 | - | (package | |
508 | - | (name "java-snappy") | |
509 | - | (version "1.1.4") | |
510 | - | (source (origin | |
511 | - | (method url-fetch) | |
512 | - | (uri (string-append "https://github.com/xerial/snappy-java/archive/" | |
513 | - | version ".tar.gz")) | |
514 | - | (sha256 | |
515 | - | (base32 | |
516 | - | "1w58diryma7qz7aa24yv8shf3flxcbbw8jgcn2lih14wgmww58ww")))) | |
517 | - | (build-system ant-build-system) | |
518 | - | (arguments | |
519 | - | `(#:jar-name "snappy.jar" | |
520 | - | #:source-dir "src/main/java" | |
521 | - | #:phases | |
522 | - | (modify-phases %standard-phases | |
523 | - | (add-before 'build 'remove-bins | |
524 | - | (lambda _ | |
525 | - | (delete-file "lib/org/xerial/snappy/OSInfo.class") | |
526 | - | (delete-file-recursively "src/main/resources/org/xerial/snappy/native") | |
527 | - | #t)) | |
528 | - | (add-before 'build 'build-jni | |
529 | - | (lambda _ | |
530 | - | (system* "javac" "src/main/java/org/xerial/snappy/OSInfo.java" | |
531 | - | "-d" "lib") | |
532 | - | (substitute* "Makefile.common" | |
533 | - | (("-shared") | |
534 | - | "-shared -lbitshuffle -lsnappy")) | |
535 | - | (substitute* "Makefile" | |
536 | - | (("\\$\\(SNAPPY_GIT_UNPACKED\\) ") | |
537 | - | "") | |
538 | - | ((": \\$\\(SNAPPY_GIT_UNPACKED\\)") | |
539 | - | ":") | |
540 | - | (("SNAPPY_OBJ:=.*") | |
541 | - | "SNAPPY_OBJ:=$(addprefix $(SNAPPY_OUT)/, SnappyNative.o BitShuffleNative.o)\n") | |
542 | - | (("NAME\\): \\$\\(SNAPPY_OBJ\\)") | |
543 | - | "NAME): $(SNAPPY_OBJ)\n\t@mkdir -p $(@D)") | |
544 | - | (("\\$\\(BITSHUFFLE_UNPACKED\\) ") | |
545 | - | "") | |
546 | - | ((": \\$\\(SNAPPY_SOURCE_CONFIGURED\\)") ":")) | |
547 | - | (zero? (system* "make" "native")))) | |
548 | - | (add-after 'build-jni 'copy-jni | |
549 | - | (lambda _ | |
550 | - | (let ((dir (string-append (getcwd) "/build/classes/org/xerial/snappy/native/"))) | |
551 | - | (with-directory-excursion "src/main/resources/org/xerial/snappy/native" | |
552 | - | (for-each (lambda (file) | |
553 | - | (mkdir-p (dirname (string-append dir file))) | |
554 | - | (copy-file file (string-append dir file))) | |
555 | - | (find-files "." ".*")))))) | |
556 | - | (add-before 'check 'disable-failing | |
557 | - | (lambda _ | |
558 | - | (substitute* "src/test/java/org/xerial/snappy/SnappyLoaderTest.java" | |
559 | - | (("target/classes") "build/classes")) | |
560 | - | ;; FIXME: probably an error | |
561 | - | (substitute* "src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java" | |
562 | - | (("91080") "91013"))))))) | |
563 | - | (inputs | |
564 | - | `(("osgi-framework" ,java-osgi-framework))) | |
565 | - | (propagated-inputs | |
566 | - | `(("bitshuffle" ,bitshuffle-for-snappy) | |
567 | - | ("snappy" ,snappy))) | |
568 | - | (native-inputs | |
569 | - | `(("junit" ,java-junit) | |
570 | - | ("hamcrest" ,java-hamcrest-core) | |
571 | - | ("xerial-core" ,java-xerial-core) | |
572 | - | ("classworlds" ,java-plexus-classworlds) | |
573 | - | ("perl" ,perl))) | |
574 | - | (home-page "") | |
575 | - | (synopsis "") | |
576 | - | (description "") | |
577 | - | (license license:asl2.0))) | |
578 | - | ||
579 | - | (define-public java-kafka-clients | |
580 | - | (package | |
581 | - | (name "java-kafka-clients") | |
582 | - | (version "0.11.0.0") | |
583 | - | (source (origin | |
584 | - | (method url-fetch) | |
585 | - | (uri (string-append "mirror://apache/kafka/" version "/kafka-" | |
586 | - | version "-src.tgz")) | |
587 | - | (sha256 | |
588 | - | (base32 | |
589 | - | "01mbi12bdxhrv4iadb3179cqrg689jva8hh8nig4n747arsbgiby")))) | |
590 | - | (build-system ant-build-system) | |
591 | - | (arguments | |
592 | - | `(#:jar-name "java-kafka-clients.jar" | |
593 | - | #:jdk ,icedtea-8 | |
594 | - | #:source-dir "clients/src/main/java" | |
595 | - | #:test-dir "clients/src/test" | |
596 | - | #:test-exclude | |
597 | - | (list | |
598 | - | ;; This file does not contain a class | |
599 | - | "**/IntegrationTest.java" | |
600 | - | ;; Requires network | |
601 | - | "**/ClientUtilsTest.java" | |
602 | - | ;; End with errors that seem related to our powermock | |
603 | - | "**/KafkaProducerTest.java" | |
604 | - | "**/BufferPoolTest.java"))) | |
605 | - | (inputs | |
606 | - | `(("java-slf4j-api" ,java-slf4j-api) | |
607 | - | ("java-lz4" ,java-lz4))) | |
608 | - | (native-inputs | |
609 | - | `(("junit" ,java-junit) | |
610 | - | ("hamcrest" ,java-hamcrest-all) | |
611 | - | ("objenesis" ,java-objenesis) | |
612 | - | ("asm" ,java-asm) | |
613 | - | ("cglib" ,java-cglib) | |
614 | - | ("javassist" ,java-jboss-javassist) | |
615 | - | ("snappy" ,java-snappy) | |
616 | - | ("easymock" ,java-easymock) | |
617 | - | ("powermock" ,java-powermock-core) | |
618 | - | ("powermock-easymock" ,java-powermock-api-easymock) | |
619 | - | ("powermock-junit4-common" ,java-powermock-modules-junit4-common) | |
620 | - | ("powermock-junit4" ,java-powermock-modules-junit4) | |
621 | - | ("powermock-support" ,java-powermock-api-support) | |
622 | - | ("bouncycastle" ,java-bouncycastle-bcprov) | |
623 | - | ("bouncycastle-bcpkix" ,java-bouncycastle-bcpkix))) | |
624 | - | (home-page "https://kafka.apache.org") | |
625 | - | (synopsis "") | |
626 | - | (description "") | |
627 | - | (license (list license:cddl1.0; actually cddl1.1 | |
628 | - | license:gpl2)))); with classpath exception | |
629 | - | ||
630 | 408 | (define-public java-jboss-annotations-api-spec | |
631 | 409 | (package | |
632 | 410 | (name "java-jboss-annotations-api-spec") | |
… | |||
722 | 500 | (description "") | |
723 | 501 | (license (list license:gpl2 license:cddl1.0)))); either gpl2 only or cddl. | |
724 | 502 | ||
725 | - | (define-public java-jboss-jms-api-spec | |
726 | - | (package | |
727 | - | (name "java-jboss-jms-api-spec") | |
728 | - | (version "2.0") | |
729 | - | (source (origin | |
730 | - | (method url-fetch) | |
731 | - | (uri (string-append "https://github.com/jboss/jboss-jms-api_spec/" | |
732 | - | "archive/jboss-jms-api_" version | |
733 | - | "_spec-1.0.1.Final.tar.gz")) | |
734 | - | (sha256 | |
735 | - | (base32 | |
736 | - | "07bqblw9kq2i8q92bz70fvavq5xjfkaixl8xa0m0cypjgy82rb7m")))) | |
737 | - | (build-system ant-build-system) | |
738 | - | (arguments | |
739 | - | `(#:jar-name "java-jboss-jms-api_spec.jar" | |
740 | - | #:jdk ,icedtea-8 | |
741 | - | #:source-dir "." | |
742 | - | #:tests? #f)); no tests | |
743 | - | (home-page "https://github.com/jboss/jboss-jms-api_spec") | |
744 | - | (synopsis "") | |
745 | - | (description "") | |
746 | - | (license (list license:gpl2 license:cddl1.0)))); either gpl2 only or cddl. | |
747 | - | ||
748 | - | (define-public java-mail | |
749 | - | (package | |
750 | - | (name "java-mail") | |
751 | - | (version "1.6.0") | |
752 | - | (source (origin | |
753 | - | (method url-fetch) | |
754 | - | (uri (string-append "https://github.com/javaee/javamail/archive/" | |
755 | - | "JAVAMAIL-1_6_0.tar.gz")) | |
756 | - | (sha256 | |
757 | - | (base32 | |
758 | - | "1b4rg7fpj50ld90a71iz2m4gm3f5cnw18p3q3rbrrryjip46kx92")))) | |
759 | - | (build-system ant-build-system) | |
760 | - | (arguments | |
761 | - | `(#:jar-name "java-mail.jar" | |
762 | - | #:jdk ,icedtea-8 | |
763 | - | #:source-dir "mail/src/main/java" | |
764 | - | #:test-dir "mail/src/test" | |
765 | - | #:phases | |
766 | - | (modify-phases %standard-phases | |
767 | - | (add-before 'configure 'move-version.java | |
768 | - | (lambda _ | |
769 | - | ;; this is done in build.xml (init target) | |
770 | - | (copy-file "mail/src/main/resources/javax/mail/Version.java" | |
771 | - | "mail/src/main/java/javax/mail/Version.java"))) | |
772 | - | (add-before 'check 'remove-failing | |
773 | - | (lambda _ | |
774 | - | ;; This fails | |
775 | - | (delete-file "mail/src/test/java/com/sun/mail/util/logging/CollectorFormatterTest.java") | |
776 | - | ;; This one needs the previous one | |
777 | - | (delete-file "mail/src/test/java/com/sun/mail/util/logging/CompactFormatterTest.java") | |
778 | - | ;; This fails | |
779 | - | (delete-file "mail/src/test/java/com/sun/mail/util/logging/DurationFilterTest.java") | |
780 | - | (delete-file "mail/src/test/java/com/sun/mail/util/logging/MailHandlerTest.java") | |
781 | - | (delete-file "mail/src/test/java/javax/mail/internet/GetLocalAddressTest.java") | |
782 | - | ;; FIXME: ends with: | |
783 | - | ;; java.lang.ClassNotFoundException: javax.mail.internet.MimeMultipartParseTest | |
784 | - | (delete-file "mail/src/test/java/javax/mail/internet/MimeMultipartParseTest.java") | |
785 | - | ;; FIXME: same here | |
786 | - | (delete-file "mail/src/test/java/javax/mail/search/SearchTermSerializationTest.java") | |
787 | - | )) | |
788 | - | (add-before 'build 'copy-resources | |
789 | - | (lambda _ | |
790 | - | (mkdir-p "build/classes/META-INF") | |
791 | - | (for-each (lambda (file) | |
792 | - | (copy-file file (string-append "build/classes/META-INF/" | |
793 | - | (basename file)))) | |
794 | - | (find-files "mail/src/main/resources/META-INF/" ".*"))))))) | |
795 | - | (native-inputs | |
796 | - | `(("junit" ,java-junit) | |
797 | - | ("hamcrest" ,java-hamcrest-core))) | |
798 | - | (home-page "https://javaee.github.io/javamail") | |
799 | - | (synopsis "") | |
800 | - | (description "") | |
801 | - | (license (list license:cddl1.0; actually cddl1.1 | |
802 | - | license:gpl2)))); with classpath exception | |
803 | - | ||
804 | 503 | (define-public java-aspectj-weaver | |
805 | 504 | (package | |
806 | 505 | (name "java-aspectj-weaver") | |
… | |||
1210 | 909 | (description "") | |
1211 | 910 | (license '(license:mpl2.0 license:epl1.0)))) | |
1212 | 911 | ||
1213 | - | (define-public java-commons-csv | |
1214 | - | (package | |
1215 | - | (name "java-commons-csv") | |
1216 | - | (version "1.4") | |
1217 | - | (source (origin | |
1218 | - | (method url-fetch) | |
1219 | - | (uri (string-append "mirror://apache/commons/csv/source/" | |
1220 | - | "commons-csv-" version "-src.tar.gz")) | |
1221 | - | (sha256 | |
1222 | - | (base32 | |
1223 | - | "1l89m0fm2s3xx3v3iynvangymfg2vlyngaj6fgsi457nmsw7m7ij")))) | |
1224 | - | (build-system ant-build-system) | |
1225 | - | (arguments | |
1226 | - | `(#:jar-name "commons-csv.jar" | |
1227 | - | #:source-dir "src/main/java" | |
1228 | - | #:tests? #f)); FIXME: requires java-h2 | |
1229 | - | (inputs | |
1230 | - | `(("java-hamcrest-core" ,java-hamcrest-core) | |
1231 | - | ("java-commons-io" ,java-commons-io) | |
1232 | - | ("java-commons-lang3" ,java-commons-lang3) | |
1233 | - | ("junit" ,java-junit))) | |
1234 | - | (home-page "https://commons.apache.org/proper/commons-csv/") | |
1235 | - | (synopsis "") | |
1236 | - | (description "") | |
1237 | - | (license license:asl2.0))) | |
1238 | - | ||
1239 | - | (define-public java-jeromq | |
1240 | - | (package | |
1241 | - | (name "java-jeromq") | |
1242 | - | (version "0.4.2") | |
1243 | - | (source (origin | |
1244 | - | (method url-fetch) | |
1245 | - | (uri (string-append "https://github.com/zeromq/jeromq/archive/v" | |
1246 | - | version ".tar.gz")) | |
1247 | - | (sha256 | |
1248 | - | (base32 | |
1249 | - | "17wx8dlyqmbw77xf6d6wxnhiyky6181zpf1a48jqzz9hidz0j841")))) | |
1250 | - | (build-system ant-build-system) | |
1251 | - | (arguments | |
1252 | - | `(#:jar-name "java-jeromq.jar" | |
1253 | - | #:source-dir "src/main/java" | |
1254 | - | #:jdk ,icedtea-8 | |
1255 | - | #:test-exclude | |
1256 | - | (list | |
1257 | - | "**/Abstract*.java" | |
1258 | - | ;; Requires network | |
1259 | - | "**/ZBeaconTest.java" | |
1260 | - | ;; FIXME: investigate test failure | |
1261 | - | "**/CustomDecoderTest.java" | |
1262 | - | "**/CustomEncoderTest.java"))) | |
1263 | - | (inputs | |
1264 | - | `(("java-jnacl" ,java-jnacl))) | |
1265 | - | (native-inputs | |
1266 | - | `(("java-hamcrest-core" ,java-hamcrest-core) | |
1267 | - | ("junit" ,java-junit))) | |
1268 | - | (home-page "http://zeromq.org/bindings:java") | |
1269 | - | (synopsis "Java binding for ??MQ") | |
1270 | - | (description "Jeromq provides the java bindings for ??MQ.") | |
1271 | - | (license license:mpl2.0))) | |
1272 | - | ||
1273 | - | (define-public java-log4j-core | |
1274 | - | (package | |
1275 | - | (inherit java-log4j-api) | |
1276 | - | (name "java-log4j-core") | |
1277 | - | (inputs | |
1278 | - | `(("java-osgi-core" ,java-osgi-core) | |
1279 | - | ("java-hamcrest-core" ,java-hamcrest-core) | |
1280 | - | ("java-log4j-api" ,java-log4j-api) | |
1281 | - | ("java-mail" ,java-mail) | |
1282 | - | ("java-jboss-jms-api-spec" ,java-jboss-jms-api-spec) | |
1283 | - | ("java-lmax-disruptor" ,java-lmax-disruptor) | |
1284 | - | ("java-kafka" ,java-kafka-clients) | |
1285 | - | ("java-datanucleus-javax-persistence" ,java-datanucleus-javax-persistence) | |
1286 | - | ("java-fasterxml-jackson-annotations" ,java-fasterxml-jackson-annotations) | |
1287 | - | ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core) | |
1288 | - | ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind) | |
1289 | - | ("java-fasterxml-jackson-dataformat-xml" ,java-fasterxml-jackson-dataformat-xml) | |
1290 | - | ("java-fasterxml-jackson-dataformat-yaml" ,java-fasterxml-jackson-dataformat-yaml) | |
1291 | - | ("java-commons-compress" ,java-commons-compress) | |
1292 | - | ("java-commons-csv" ,java-commons-csv) | |
1293 | - | ("java-jeromq" ,java-jeromq) | |
1294 | - | ("java-junit" ,java-junit))) | |
1295 | - | (native-inputs | |
1296 | - | `(("hamcrest" ,java-hamcrest-all) | |
1297 | - | ("java-commons-io" ,java-commons-io) | |
1298 | - | ("java-commons-lang3" ,java-commons-lang3) | |
1299 | - | ("slf4j" ,java-slf4j-api))) | |
1300 | - | (arguments | |
1301 | - | `(#:tests? #f ; tests require unpackaged software | |
1302 | - | #:test-dir "src/test" | |
1303 | - | #:source-dir "src/main/java" | |
1304 | - | #:jar-name "log4j-core.jar" | |
1305 | - | #:jdk ,icedtea-8 | |
1306 | - | #:make-flags | |
1307 | - | (list (string-append "-Ddist.dir=" (assoc-ref %outputs "out") | |
1308 | - | "/share/java")) | |
1309 | - | #:phases | |
1310 | - | (modify-phases %standard-phases | |
1311 | - | (add-after 'unpack 'enter-dir | |
1312 | - | (lambda _ (chdir "log4j-core") #t))))) | |
1313 | - | (synopsis "Core component of the Log4j framework") | |
1314 | - | (description "This package provides the core component of the Log4j | |
1315 | - | logging framework for Java."))) | |
1316 | - | ||
1317 | 912 | (define-public java-apache-felix-utils | |
1318 | 913 | (package | |
1319 | 914 | (name "java-apache-felix-utils") | |
… | |||
1452 | 1047 | (description "") | |
1453 | 1048 | (license license:asl2.0))) | |
1454 | 1049 | ||
1455 | - | (define-public java-log4j-1.2-api | |
1456 | - | (package | |
1457 | - | (inherit java-log4j-api) | |
1458 | - | (name "java-log4j-1.2-api") | |
1459 | - | (arguments | |
1460 | - | `(#:jar-name "java-log4j-1.2-api.jar" | |
1461 | - | #:source-dir "log4j-1.2-api/src/main/java" | |
1462 | - | #:test-dir "log4j-1.2-api/src/test" | |
1463 | - | #:jdk ,icedtea-8 | |
1464 | - | #:tests? #f)); requires maven-model (and other maven subprojects), | |
1465 | - | ; which is a cyclic dependency | |
1466 | - | (inputs | |
1467 | - | `(("log4j-api" ,java-log4j-api) | |
1468 | - | ("log4j-core" ,java-log4j-core) | |
1469 | - | ("osgi-core" ,java-osgi-core) | |
1470 | - | ("eclipse-osgi" ,java-eclipse-osgi) | |
1471 | - | ("java-lmax-disruptor" ,java-lmax-disruptor))) | |
1472 | - | (native-inputs | |
1473 | - | `(("junit" ,java-junit) | |
1474 | - | ("velocity" ,java-velocity) | |
1475 | - | ("felix" ,java-apache-felix) | |
1476 | - | ("io" ,java-commons-io))))) | |
1477 | - | ||
1050 | + | ;; This package is outdated, but it still required by java-velocity | |
1478 | 1051 | (define-public java-log4j-1.2 | |
1479 | 1052 | (package | |
1480 | 1053 | (inherit java-log4j-core) | |
… | |||
1488 | 1061 | (base32 | |
1489 | 1062 | "0qw618mdyg8nih499piqxkgqkvps2hpa03zbnmhlc8z63rvy6a55")))) | |
1490 | 1063 | (arguments | |
1491 | - | `(#:tests? #f ; tests require unpackaged software | |
1064 | + | `(#:tests? #f ; tests require unpackaged and outdated software | |
1492 | 1065 | #:test-dir "src/test" | |
1493 | 1066 | #:source-dir "src/main/java" | |
1494 | 1067 | #:jar-name "log4j-1.2.jar" | |
… | |||
1808 | 1381 | (description "") | |
1809 | 1382 | (license license:asl2.0))) | |
1810 | 1383 | ||
1384 | + | (define-public java-velocity-2 | |
1385 | + | (package | |
1386 | + | (inherit java-velocity) | |
1387 | + | (name "java-velocity") | |
1388 | + | (version "2.0") | |
1389 | + | (source (origin | |
1390 | + | (method svn-fetch) | |
1391 | + | (uri (svn-reference | |
1392 | + | (url "http://svn.apache.org/repos/asf/velocity/engine/tags/2.0") | |
1393 | + | (revision 1804253))) | |
1394 | + | (file-name (string-append name "-" version)) | |
1395 | + | (sha256 | |
1396 | + | (base32 | |
1397 | + | "02s1dl9walwb965gryg15qy48477knb2rnxg5vmk33r9phrwvan8")))) | |
1398 | + | (arguments | |
1399 | + | `(#:jar-name "velocity.jar" | |
1400 | + | #:tests? #f; FIXME: need a fix to build.xml and hsqldb | |
1401 | + | #:source-dir "velocity-engine-core/src/main/java" | |
1402 | + | #:jdk ,icedtea-8 | |
1403 | + | #:phases | |
1404 | + | (modify-phases %standard-phases | |
1405 | + | (add-before 'build 'copy-resources | |
1406 | + | (lambda _ | |
1407 | + | (copy-recursively "velocity-engine-core/src/main/resources" | |
1408 | + | "build/classes"))) | |
1409 | + | (add-before 'build 'generate-parser | |
1410 | + | (lambda _ | |
1411 | + | (and | |
1412 | + | (zero? | |
1413 | + | (system* | |
1414 | + | "jjtree" "-STATIC=false" "-MULTI=true" | |
1415 | + | "-NODE_PACKAGE=org.apache.velocity.runtime.parser.node" | |
1416 | + | "-BUILD_NODE_FILES=false" "-NODE_USES_PARSER=true" | |
1417 | + | ;(string-append "-OUTPUT_DIRECTORY=velocity-engine-core/src" | |
1418 | + | ; "/main/java/org/apache/velocity/runtime/parser") | |
1419 | + | "velocity-engine-core/src/main/parser/Parser.jjt")) | |
1420 | + | (begin | |
1421 | + | (rename-file "Parser.jj" | |
1422 | + | "velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/Parser.jj") | |
1423 | + | (rename-file "ParserTreeConstants.java" | |
1424 | + | "velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ParserTreeConstants.java") | |
1425 | + | (rename-file "JJTParserState.java" | |
1426 | + | "velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/JJTParserState.java") | |
1427 | + | #t) | |
1428 | + | (zero? | |
1429 | + | (system* | |
1430 | + | "javacc" "-STATIC=false" "-JDK_VERSION=1.8" | |
1431 | + | (string-append "-OUTPUT_DIRECTORY=velocity-engine-core/src" | |
1432 | + | "/main/java/org/apache/velocity/runtime/parser") | |
1433 | + | "velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/Parser.jj")))))))) | |
1434 | + | (native-inputs | |
1435 | + | `(("javacc" ,java-javacc-5))) | |
1436 | + | (propagated-inputs '()) | |
1437 | + | (inputs | |
1438 | + | `(("java-commons-collections" ,java-commons-collections) | |
1439 | + | ("java-jdom" ,java-jdom) | |
1440 | + | ("java-log4j-api" ,java-log4j-api) | |
1441 | + | ("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
1442 | + | ("java-commons-io" ,java-commons-io) | |
1443 | + | ("java-commons-lang" ,java-commons-lang3) | |
1444 | + | ("java-slf4j-api" ,java-slf4j-api))))) | |
1445 | + | ||
1811 | 1446 | (define-public java-velocity-tools | |
1812 | 1447 | (package | |
1813 | 1448 | (name "java-velocity-tools") | |
… | |||
2247 | 1882 | (display | |
2248 | 1883 | (string-append "#!/bin/sh\n" | |
2249 | 1884 | (assoc-ref inputs "jdk") "/bin/java" | |
2250 | - | " -cp " dir "/javacc.jar" " javacc" " $*")))) | |
2251 | - | (chmod (string-append bin "/javacc") #o755))))))) | |
1885 | + | " -cp " dir "/javacc.jar" " `basename $0`" " $*")))) | |
1886 | + | (chmod (string-append bin "/javacc") #o755) | |
1887 | + | (symlink (string-append bin "/javacc") | |
1888 | + | (string-append bin "/jjdoc")) | |
1889 | + | (symlink (string-append bin "/javacc") | |
1890 | + | (string-append bin "/jjtree")))))))) | |
2252 | 1891 | (native-inputs | |
2253 | 1892 | `(("junit" ,java-junit))) | |
2254 | 1893 | (home-page "https://javacc.org") | |
… | |||
2256 | 1895 | (description "") | |
2257 | 1896 | (license license:bsd-3))) | |
2258 | 1897 | ||
1898 | + | ;; This version is required by velocity 2.0 | |
1899 | + | (define-public java-javacc-5 | |
1900 | + | (package | |
1901 | + | (inherit java-javacc) | |
1902 | + | (version "5.0") | |
1903 | + | (source (origin | |
1904 | + | (method url-fetch) | |
1905 | + | (uri "https://javacc.org/downloads/javacc-5.0src.tar.gz") | |
1906 | + | (sha256 | |
1907 | + | (base32 | |
1908 | + | "0w3kl5zal9g0gwpcnlii6spgvb2yi3dpj1vz592ly18h6yfswv3n")))) | |
1909 | + | (arguments | |
1910 | + | (substitute-keyword-arguments (package-arguments java-javacc) | |
1911 | + | ((#:phases phases) | |
1912 | + | `(modify-phases ,phases | |
1913 | + | ;; This phase renames the generated jar so it can be handled by | |
1914 | + | ;; our already written 'install phase. | |
1915 | + | (add-before 'install 'rename-jar | |
1916 | + | (lambda _ | |
1917 | + | (mkdir-p "target") | |
1918 | + | (rename-file "bin/lib/javacc.jar" "target/javacc.jar"))))))))) | |
1919 | + | ||
2259 | 1920 | (define-public java-icu4j | |
2260 | 1921 | (package | |
2261 | 1922 | (name "java-icu4j") | |
… | |||
4211 | 3872 | (uri url) | |
4212 | 3873 | (sha256 (base32 hash))))) | |
4213 | 3874 | ||
4214 | - | (define-public java-commons-beanutils | |
4215 | - | (package | |
4216 | - | (name "java-commons-beanutils") | |
4217 | - | (version "1.9.3") | |
4218 | - | (source (origin | |
4219 | - | (method url-fetch) | |
4220 | - | (uri (string-append "mirror://apache/commons/beanutils/source/" | |
4221 | - | "commons-beanutils-" version "-src.tar.gz")) | |
4222 | - | (sha256 | |
4223 | - | (base32 | |
4224 | - | "03cs0bq3sl1sdc7py9g3qnf8n9h473nrkvd3d251kaqv6a2ab7qk")))) | |
4225 | - | (build-system ant-build-system) | |
4226 | - | (arguments | |
4227 | - | `(#:test-target "test" | |
4228 | - | #:tests? #f | |
4229 | - | #:phases | |
4230 | - | (modify-phases %standard-phases | |
4231 | - | (replace 'install | |
4232 | - | (lambda* (#:key outputs #:allow-other-keys) | |
4233 | - | (install-file "dist/commons-beanutils-1.9.3-SNAPSHOT.jar" | |
4234 | - | (string-append (assoc-ref outputs "out") "/share/java/" | |
4235 | - | "commons-beanutils.jar"))))))) | |
4236 | - | (inputs | |
4237 | - | `(("logging" ,java-commons-logging-minimal) | |
4238 | - | ("collections" ,java-commons-collections))) | |
4239 | - | (native-inputs | |
4240 | - | `(("junit" ,java-junit) | |
4241 | - | ("collections-test" ,java-commons-collections-test-classes))) | |
4242 | - | (home-page "http://commons.apache.org/beanutils/") | |
4243 | - | (synopsis "") | |
4244 | - | (description "") | |
4245 | - | (license license:asl2.0))) | |
4246 | - | ||
4247 | 3875 | (define-public java-commons-jxpath | |
4248 | 3876 | (package | |
4249 | 3877 | (name "java-commons-jxpath") | |
… | |||
4275 | 3903 | contexts, DOM etc, including mixtures thereof.") | |
4276 | 3904 | (license license:asl2.0))) | |
4277 | 3905 | ||
4278 | - | (define-public java-geronimo-xbean-reflect | |
4279 | - | (package | |
4280 | - | (name "java-geronimo-xbean-reflect") | |
4281 | - | (version "1807386") | |
4282 | - | (source (origin | |
4283 | - | (method svn-fetch) | |
4284 | - | (uri (svn-reference | |
4285 | - | ;(url "https://svn.apache.org/repos/asf/geronimo/xbean/trunk/") | |
4286 | - | (url "https://svn.apache.org/repos/asf/geronimo/xbean/tags/xbean-4.5/") | |
4287 | - | (revision 1807396))) | |
4288 | - | (sha256 | |
4289 | - | (base32 | |
4290 | - | "18q3i6jgm6rkw8aysfgihgywrdc5nvijrwnslmi3ww497jvri6ja")))) | |
4291 | - | (build-system ant-build-system) | |
4292 | - | (arguments | |
4293 | - | `(#:jar-name "geronimo-xbean-reflect.jar" | |
4294 | - | #:source-dir "xbean-reflect/src/main/java" | |
4295 | - | #:test-dir "xbean-reflect/src/test" | |
4296 | - | #:jdk ,icedtea-8 | |
4297 | - | #:test-exclude (list "**/Abstract*.java" "**/AsmParameterNameLoaderTest.java" | |
4298 | - | "**/ObjectRecipeTest.java" "**/ParameterNameLoaderTest.java" | |
4299 | - | "**/RecipeHelperTest.java" "**/XbeanAsmParameterNameLoaderTest.java") | |
4300 | - | #:phases | |
4301 | - | (modify-phases %standard-phases | |
4302 | - | (add-before 'build 'fix-source | |
4303 | - | (lambda _ | |
4304 | - | ;; org.apache.xbean.asm6 is actually repackaged java-asm | |
4305 | - | (substitute* "xbean-reflect/src/main/java/org/apache/xbean/recipe/XbeanAsmParameterNameLoader.java" | |
4306 | - | (("org.apache.xbean.asm5") "org.objectweb.asm"))))))) | |
4307 | - | (inputs | |
4308 | - | `(("asm" ,java-asm) | |
4309 | - | ("log4j" ,java-log4j-api) | |
4310 | - | ("log4j-1.2" ,java-log4j-1.2-api) | |
4311 | - | ("log4j-core" ,java-log4j-core) | |
4312 | - | ("logging" ,java-commons-logging-minimal))) | |
4313 | - | (native-inputs | |
4314 | - | `(("junit" ,java-junit))) | |
4315 | - | (home-page "") | |
4316 | - | (synopsis "") | |
4317 | - | (description "") | |
4318 | - | (license license:asl2.0))) | |
4319 | - | ||
4320 | 3906 | (define-public java-geronimo-xbean-bundleutils | |
4321 | 3907 | (package | |
4322 | 3908 | (inherit java-geronimo-xbean-reflect) | |
… | |||
4382 | 3968 | `(("junit" ,java-junit) | |
4383 | 3969 | ("hamcrest" ,java-hamcrest-core))))) | |
4384 | 3970 | ||
4385 | - | (define-public java-plexus-io | |
4386 | - | (package | |
4387 | - | (name "java-plexus-io") | |
4388 | - | (version "3.0.0") | |
4389 | - | (source (codehaus-plexus-origin | |
4390 | - | "plexus-io" version | |
4391 | - | "0f2j41kihaymxkpbm55smpxjja235vad8cgz94frfy3ppcp021dw" | |
4392 | - | "")) | |
4393 | - | (build-system ant-build-system) | |
4394 | - | (arguments | |
4395 | - | `(#:jar-name "plexus-io.jar" | |
4396 | - | #:source-dir "src/main/java" | |
4397 | - | #:test-dir "src/test" | |
4398 | - | #:jdk ,icedtea-8 | |
4399 | - | #:phases | |
4400 | - | (modify-phases %standard-phases | |
4401 | - | (add-before 'build 'copy-resources | |
4402 | - | (lambda _ | |
4403 | - | (mkdir-p "build/classes/META-INF/plexus") | |
4404 | - | (copy-file "src/main/resources/META-INF/plexus/components.xml" | |
4405 | - | "build/classes/META-INF/plexus/components.xml") | |
4406 | - | #t))))) | |
4407 | - | (inputs | |
4408 | - | `(("utils" ,java-plexus-utils) | |
4409 | - | ("commons-io" ,java-commons-io) | |
4410 | - | ("java-jsr305" ,java-jsr305))) | |
4411 | - | (native-inputs | |
4412 | - | `(("junit" ,java-junit) | |
4413 | - | ("hamcrest" ,java-hamcrest-core) | |
4414 | - | ("guava" ,java-guava) | |
4415 | - | ("classworlds" ,java-plexus-classworlds) | |
4416 | - | ("xbean" ,java-geronimo-xbean-reflect) | |
4417 | - | ("container-default" ,java-plexus-container-default-bootstrap))) | |
4418 | - | (home-page "") | |
4419 | - | (synopsis "") | |
4420 | - | (description "") | |
4421 | - | (license license:asl2.0))) | |
4422 | - | ||
4423 | - | (define-public java-iq80-snappy | |
4424 | - | (package | |
4425 | - | (name "java-iq80-snappy") | |
4426 | - | (version "0.4") | |
4427 | - | (source (origin | |
4428 | - | (method url-fetch) | |
4429 | - | (uri (string-append "https://github.com/dain/snappy/archive/snappy-" | |
4430 | - | version ".tar.gz")) | |
4431 | - | (sha256 | |
4432 | - | (base32 | |
4433 | - | "0rb3zhci7w9wzd65lfnk7p3ip0n6gb58a9qpx8n7r0231gahyamf")))) | |
4434 | - | (build-system ant-build-system) | |
4435 | - | (arguments | |
4436 | - | `(#:jar-name "iq80-snappy.jar" | |
4437 | - | #:source-dir "src/main/java" | |
4438 | - | #:test-dir "src/test" | |
4439 | - | #:jdk ,icedtea-8 | |
4440 | - | #:test-exclude (list "**/Abstract*.java" | |
4441 | - | "**/SnappyFramedStreamTest.java"); No runnable method | |
4442 | - | #:phases | |
4443 | - | (modify-phases %standard-phases | |
4444 | - | (replace 'check | |
4445 | - | (lambda _ | |
4446 | - | (define (test class) | |
4447 | - | (zero? (system* "java" "-cp" (string-append (getenv "CLASSPATH") | |
4448 | - | ":build/classes" | |
4449 | - | ":build/test-classes") | |
4450 | - | "-Dtest.resources.dir=src/test/resources" | |
4451 | - | "org.testng.TestNG" "-testclass" | |
4452 | - | class))) | |
4453 | - | (system* "ant" "compile-tests") | |
4454 | - | (and | |
4455 | - | (test "org.iq80.snappy.SnappyFramedStreamTest") | |
4456 | - | (test "org.iq80.snappy.SnappyStreamTest")))) | |
4457 | - | ;(test "org.iq80.snappy.SnappyTest")))) | |
4458 | - | (add-before 'build 'remove-dep | |
4459 | - | (lambda _ | |
4460 | - | ;; We don't have hadoop | |
4461 | - | (delete-file "src/main/java/org/iq80/snappy/HadoopSnappyCodec.java") | |
4462 | - | (delete-file "src/test/java/org/iq80/snappy/TestHadoopSnappyCodec.java") | |
4463 | - | #t))))) | |
4464 | - | (home-page "https://github.com/dain/snappy") | |
4465 | - | (native-inputs | |
4466 | - | `(("guava" ,java-guava) | |
4467 | - | ("java-snappy" ,java-snappy) | |
4468 | - | ("hamcrest" ,java-hamcrest-core) | |
4469 | - | ("testng" ,java-testng))) | |
4470 | - | (synopsis "") | |
4471 | - | (description "") | |
4472 | - | (license license:asl2.0))) | |
4473 | - | ||
4474 | - | (define-public java-tukaani-xz | |
4475 | - | (package | |
4476 | - | (name "java-tukaani-xz") | |
4477 | - | (version "1.6") | |
4478 | - | (source (origin | |
4479 | - | (method url-fetch) | |
4480 | - | (uri (string-append "https://tukaani.org/xz/xz-java-" version ".zip")) | |
4481 | - | (sha256 | |
4482 | - | (base32 | |
4483 | - | "1z3p1ri1gvl07inxn0agx44ck8n7wrzfmvkz8nbq3njn8r9wba8x")))) | |
4484 | - | (build-system ant-build-system) | |
4485 | - | (arguments | |
4486 | - | `(#:tests? #f; no tests | |
4487 | - | #:phases | |
4488 | - | (modify-phases %standard-phases | |
4489 | - | (add-after 'unpack 'chdir | |
4490 | - | (lambda _ | |
4491 | - | ; The package is not unzipped in a subdirectory | |
4492 | - | (chdir ".."))) | |
4493 | - | (replace 'install | |
4494 | - | (lambda* (#:key outputs #:allow-other-keys) | |
4495 | - | ;; Do we want to install *Demo.jar? | |
4496 | - | (install-file "build/jar/xz.jar" | |
4497 | - | (string-append | |
4498 | - | (assoc-ref outputs "out") | |
4499 | - | "/share/java/xz.jar"))))))) | |
4500 | - | (native-inputs | |
4501 | - | `(("unzip" ,unzip))) | |
4502 | - | (home-page "https://tukaani.org") | |
4503 | - | (synopsis "") | |
4504 | - | (description "") | |
4505 | - | (license license:public-domain))) | |
4506 | - | ||
4507 | - | (define-public java-plexus-archiver | |
4508 | - | (package | |
4509 | - | (name "java-plexus-archiver") | |
4510 | - | (version "3.5") | |
4511 | - | (source (codehaus-plexus-origin | |
4512 | - | "plexus-archiver" version | |
4513 | - | "0iv1j7khra6icqh3jndng3iipfmkc7l5jq2y802cm8r575v75pyv" | |
4514 | - | "")) | |
4515 | - | (build-system ant-build-system) | |
4516 | - | (arguments | |
4517 | - | `(#:jar-name "plexus-archiver.jar" | |
4518 | - | #:source-dir "src/main/java" | |
4519 | - | #:jdk ,icedtea-8 | |
4520 | - | #:test-dir "src/test" | |
4521 | - | #:test-exclude (list "**/Abstract*.java" "**/Base*.java") | |
4522 | - | #:phases | |
4523 | - | (modify-phases %standard-phases | |
4524 | - | (add-before 'check 'remove-failing | |
4525 | - | (lambda _ | |
4526 | - | ;; Requires an older version of plexus container | |
4527 | - | (delete-file "src/test/java/org/codehaus/plexus/archiver/DuplicateFilesTest.java"))) | |
4528 | - | (add-before 'build 'copy-resources | |
4529 | - | (lambda _ | |
4530 | - | (mkdir-p "build/classes/META-INF/plexus") | |
4531 | - | (copy-file "src/main/resources/META-INF/plexus/components.xml" | |
4532 | - | "build/classes/META-INF/plexus/components.xml") | |
4533 | - | #t))))) | |
4534 | - | (inputs | |
4535 | - | `(("utils" ,java-plexus-utils) | |
4536 | - | ("commons-io" ,java-commons-io) | |
4537 | - | ("snappy" ,java-iq80-snappy) | |
4538 | - | ("io" ,java-plexus-io) | |
4539 | - | ("compress" ,java-commons-compress) | |
4540 | - | ("container-default" ,java-plexus-container-default-bootstrap) | |
4541 | - | ("snappy" ,java-snappy) | |
4542 | - | ("java-jsr305" ,java-jsr305))) | |
4543 | - | (native-inputs | |
4544 | - | `(("junit" ,java-junit) | |
4545 | - | ("classworld" ,java-plexus-classworlds) | |
4546 | - | ("xbean" ,java-geronimo-xbean-reflect) | |
4547 | - | ("xz" ,java-tukaani-xz) | |
4548 | - | ("guava" ,java-guava))) | |
4549 | - | (home-page "") | |
4550 | - | (synopsis "") | |
4551 | - | (description "") | |
4552 | - | (license license:asl2.0))) | |
4553 | - | ||
4554 | - | (define-public java-plexus-container-default-bootstrap | |
4555 | - | (package | |
4556 | - | (name "java-plexus-container-default-bootstrap") | |
4557 | - | (version "1.7.1") | |
4558 | - | (source (codehaus-plexus-origin | |
4559 | - | "plexus-containers" version | |
4560 | - | "0xw5g30qf4a83608rw9v2hv8pfsz7d69dkdhk6r0wia4q78hh1pc" | |
4561 | - | "")) | |
4562 | - | (build-system ant-build-system) | |
4563 | - | (arguments | |
4564 | - | `(#:jar-name "container-default.jar" | |
4565 | - | #:source-dir "plexus-container-default/src/main/java" | |
4566 | - | #:test-dir "plexus-container-default/src/test" | |
4567 | - | #:jdk ,icedtea-8 | |
4568 | - | #:tests? #f; requires plexus-archiver, which depends on this package | |
4569 | - | #:phases | |
4570 | - | (modify-phases %standard-phases | |
4571 | - | (add-before 'build 'copy-resources | |
4572 | - | (lambda _ | |
4573 | - | (mkdir-p "build/classes/META-INF/plexus") | |
4574 | - | (copy-file "plexus-container-default/src/main/resources/META-INF/plexus/components.xml" | |
4575 | - | "build/classes/META-INF/plexus/components.xml") | |
4576 | - | #t))))) | |
4577 | - | (inputs | |
4578 | - | `(("worldclass" ,java-plexus-classworlds) | |
4579 | - | ("xbean" ,java-geronimo-xbean-reflect) | |
4580 | - | ("utils" ,java-plexus-utils) | |
4581 | - | ("junit" ,java-junit) | |
4582 | - | ("guava" ,java-guava))) | |
4583 | - | (home-page "") | |
4584 | - | (synopsis "") | |
4585 | - | (description "") | |
4586 | - | (license license:asl2.0))) | |
4587 | - | ||
4588 | - | (define-public java-plexus-container-default | |
4589 | - | (package | |
4590 | - | (inherit java-plexus-container-default-bootstrap) | |
4591 | - | (name "java-plexus-container-default") | |
4592 | - | (arguments | |
4593 | - | `(#:jar-name "container-default.jar" | |
4594 | - | #:source-dir "plexus-container-default/src/main/java" | |
4595 | - | #:test-dir "plexus-container-default/src/test" | |
4596 | - | #:test-exclude (list "**/*Test.java" | |
4597 | - | "**/ComponentRealmCompositionTest.java") | |
4598 | - | #:jdk ,icedtea-8 | |
4599 | - | #:phases | |
4600 | - | (modify-phases %standard-phases | |
4601 | - | (add-before 'build 'copy-resources | |
4602 | - | (lambda _ | |
4603 | - | (mkdir-p "build/classes/META-INF/plexus") | |
4604 | - | (copy-file "plexus-container-default/src/main/resources/META-INF/plexus/components.xml" | |
4605 | - | "build/classes/META-INF/plexus/components.xml") | |
4606 | - | #t)) | |
4607 | - | (add-before 'check 'fix-paths | |
4608 | - | (lambda _ | |
4609 | - | (substitute* "plexus-container-default/src/test/java/org/codehaus/plexus/component/composition/ComponentRealmCompositionTest.java" | |
4610 | - | (("src/test") "plexus-container-default/src/test")) | |
4611 | - | #t))))) | |
4612 | - | (inputs | |
4613 | - | `(("worldclass" ,java-plexus-classworlds) | |
4614 | - | ("xbean" ,java-geronimo-xbean-reflect) | |
4615 | - | ("utils" ,java-plexus-utils) | |
4616 | - | ("junit" ,java-junit) | |
4617 | - | ("guava" ,java-guava))) | |
4618 | - | (native-inputs | |
4619 | - | `(("archiver" ,java-plexus-archiver) | |
4620 | - | ("hamcrest" ,java-hamcrest-core))))) | |
4621 | - | ||
4622 | 3971 | (define-public java-plexus-component-annotations | |
4623 | 3972 | (package | |
4624 | 3973 | (inherit java-plexus-container-default) |
more/packages/python.scm
620 | 620 | (synopsis "") | |
621 | 621 | (description "") | |
622 | 622 | (license license:asl2.0))) | |
623 | - | ||
624 | - | (define-public bitshuffle | |
625 | - | (package | |
626 | - | (name "bitshuffle") | |
627 | - | (version "0.3.2") | |
628 | - | (source (origin | |
629 | - | (method url-fetch) | |
630 | - | (uri (string-append "https://github.com/kiyo-masui/bitshuffle/archive/" | |
631 | - | version ".tar.gz")) | |
632 | - | (sha256 | |
633 | - | (base32 | |
634 | - | "1r3jar8vsqar9ikw6jsdbydngh85miqdlkv3n9ywc9ngzlr7dff0")))) | |
635 | - | (build-system python-build-system) | |
636 | - | (arguments | |
637 | - | `(#:tests? #f | |
638 | - | #:phases | |
639 | - | (modify-phases %standard-phases | |
640 | - | (add-before 'check 'make-required-dir | |
641 | - | (lambda _ | |
642 | - | (mkdir-p "bitshuffle/plugin")))))) | |
643 | - | (inputs | |
644 | - | `(("numpy" ,python-numpy) | |
645 | - | ("h5py" ,python-h5py) | |
646 | - | ("hdf5" ,hdf5))) | |
647 | - | (native-inputs | |
648 | - | `(("cython" ,python-cython))) | |
649 | - | (home-page "https://github.com/kiyo-masui/bitshuffle") | |
650 | - | (synopsis "") | |
651 | - | (description "") | |
652 | - | (license license:expat))) |