Remove pushed packages
more/packages/java.scm
| 1399 | 1399 | (license (list license:cddl1.0; actually cddl1.1 | |
| 1400 | 1400 | license:gpl2)))); with classpath exception | |
| 1401 | 1401 | ||
| 1402 | - | (define-public java-fasterxml-jackson-annotations | |
| 1403 | - | (package | |
| 1404 | - | (name "java-fasterxml-jackson-annotations") | |
| 1405 | - | (version "2.9.0") | |
| 1406 | - | (source (origin | |
| 1407 | - | (method url-fetch) | |
| 1408 | - | (uri (string-append "https://github.com/FasterXML/" | |
| 1409 | - | "jackson-annotations/archive/" | |
| 1410 | - | "jackson-annotations-" version ".tar.gz")) | |
| 1411 | - | (sha256 | |
| 1412 | - | (base32 | |
| 1413 | - | "0lh6ngld2sgspy3zy6yk7wfd7a1lqy0a7kl90krz49l6wyx440ny")))) | |
| 1414 | - | (build-system ant-build-system) | |
| 1415 | - | (arguments | |
| 1416 | - | `(#:jar-name "jackson-annotations.jar" | |
| 1417 | - | #:source-dir "src/main/java" | |
| 1418 | - | #:test-dir "src/test")) | |
| 1419 | - | (native-inputs | |
| 1420 | - | `(("junit" ,java-junit))) | |
| 1421 | - | (home-page "https://github.com/FasterXML/jackson-annotations") | |
| 1422 | - | (synopsis "") | |
| 1423 | - | (description "") | |
| 1424 | - | (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing | |
| 1425 | - | ||
| 1426 | - | (define-public java-fasterxml-jackson-core | |
| 1427 | - | (package | |
| 1428 | - | (name "java-fasterxml-jackson-core") | |
| 1429 | - | (version "2.9.0") | |
| 1430 | - | (source (origin | |
| 1431 | - | (method url-fetch) | |
| 1432 | - | (uri (string-append "https://github.com/FasterXML/" | |
| 1433 | - | "jackson-core/archive/" | |
| 1434 | - | "jackson-core-" version ".tar.gz")) | |
| 1435 | - | (sha256 | |
| 1436 | - | (base32 | |
| 1437 | - | "05r742510lwclv51lwbca3753hppzvq38pnsalp1hccn3102lhy2")))) | |
| 1438 | - | (build-system ant-build-system) | |
| 1439 | - | (arguments | |
| 1440 | - | `(#:jar-name "jackson-core.jar" | |
| 1441 | - | #:source-dir "src/main/java" | |
| 1442 | - | #:test-dir "src/test" | |
| 1443 | - | #:test-exclude | |
| 1444 | - | (list | |
| 1445 | - | ;; Expected failure. pom.xml excludes these | |
| 1446 | - | "**/failing/**" | |
| 1447 | - | ;; Base classes that are not tests themeselves | |
| 1448 | - | "**/BaseTest.java" | |
| 1449 | - | "**/ConcurrencyReadTest.java" | |
| 1450 | - | "**/ManualCharAccessTest.java" | |
| 1451 | - | "**/ManualCharAccessTest.java" | |
| 1452 | - | "**/TrailingCommasTest.java" | |
| 1453 | - | "**/AsyncMissingValuesInObjectTest.java" | |
| 1454 | - | "**/AsyncMissingValuesInArrayTest.java") | |
| 1455 | - | #:phases | |
| 1456 | - | (modify-phases %standard-phases | |
| 1457 | - | (add-before 'configure 'generate-PackageVersion.java | |
| 1458 | - | (lambda _ | |
| 1459 | - | (let* ((out "src/main/java/com/fasterxml/jackson/core/json/PackageVersion.java") | |
| 1460 | - | (in (string-append out ".in"))) | |
| 1461 | - | (copy-file in out) | |
| 1462 | - | (substitute* out | |
| 1463 | - | (("@package@") "com.fasterxml.jackson.core.json") | |
| 1464 | - | (("@projectversion@") ,version) | |
| 1465 | - | (("@projectgroupid@") "com.fasterxml.jackson.core") | |
| 1466 | - | (("@projectartifactid@") "jackson-core"))))) | |
| 1467 | - | (add-before 'build 'copy-resources | |
| 1468 | - | (lambda _ | |
| 1469 | - | (copy-recursively "src/main/resources" | |
| 1470 | - | "build/classes"))) | |
| 1471 | - | (add-before 'check 'copy-test-resources | |
| 1472 | - | (lambda _ | |
| 1473 | - | (copy-recursively "src/test/resources" | |
| 1474 | - | "build/test-classes")))))) | |
| 1475 | - | (native-inputs | |
| 1476 | - | `(("junit" ,java-junit) | |
| 1477 | - | ("hamcrest" ,java-hamcrest-core))) | |
| 1478 | - | (home-page "https://github.com/FasterXML/jackson-core") | |
| 1479 | - | (synopsis "") | |
| 1480 | - | (description "") | |
| 1481 | - | (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing | |
| 1482 | - | ||
| 1483 | - | (define-public java-fasterxml-jackson-databind | |
| 1484 | - | (package | |
| 1485 | - | (name "java-fasterxml-jackson-databind") | |
| 1486 | - | (version "2.9.0") | |
| 1487 | - | (source (origin | |
| 1488 | - | (method url-fetch) | |
| 1489 | - | (uri (string-append "https://github.com/FasterXML/" | |
| 1490 | - | "jackson-databind/archive/" | |
| 1491 | - | "jackson-databind-" version ".tar.gz")) | |
| 1492 | - | (sha256 | |
| 1493 | - | (base32 | |
| 1494 | - | "0nxjmhbplclgl960ik8sa3ghq56x2qb4ymh3y6cqxynhzs89mzvl")))) | |
| 1495 | - | (build-system ant-build-system) | |
| 1496 | - | (arguments | |
| 1497 | - | `(#:jar-name "jackson-databind.jar" | |
| 1498 | - | #:source-dir "src/main/java" | |
| 1499 | - | #:tests? #f; requires javax.measures for which I can't find a free implementation | |
| 1500 | - | #:phases | |
| 1501 | - | (modify-phases %standard-phases | |
| 1502 | - | (add-before 'configure 'generate-PackageVersion.java | |
| 1503 | - | (lambda _ | |
| 1504 | - | (let* ((out "src/main/java/com/fasterxml/jackson/databind/cfg/PackageVersion.java") | |
| 1505 | - | (in (string-append out ".in"))) | |
| 1506 | - | (copy-file in out) | |
| 1507 | - | (substitute* out | |
| 1508 | - | (("@package@") "com.fasterxml.jackson.databind.cfg") | |
| 1509 | - | (("@projectversion@") ,version) | |
| 1510 | - | (("@projectgroupid@") "com.fasterxml.jackson.databind") | |
| 1511 | - | (("@projectartifactid@") "jackson-databind"))))) | |
| 1512 | - | (add-before 'build 'copy-resources | |
| 1513 | - | (lambda _ | |
| 1514 | - | (mkdir-p "build/classes/META-INF") | |
| 1515 | - | (for-each (lambda (file) | |
| 1516 | - | (copy-file file (string-append "build/classes/META-INF/" | |
| 1517 | - | (basename file)))) | |
| 1518 | - | (find-files "src/main/resources/META-INF/" ".*"))))))) | |
| 1519 | - | (inputs | |
| 1520 | - | `(("java-fasterxml-jackson-annotations" ,java-fasterxml-jackson-annotations) | |
| 1521 | - | ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core))) | |
| 1522 | - | (native-inputs | |
| 1523 | - | `(("junit" ,java-junit))) | |
| 1524 | - | (home-page "https://github.com/FasterXML/jackson-databind") | |
| 1525 | - | (synopsis "") | |
| 1526 | - | (description "") | |
| 1527 | - | (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing | |
| 1528 | - | ||
| 1529 | - | (define-public java-fasterxml-jackson-modules-base | |
| 1530 | - | (package | |
| 1531 | - | (name "java-fasterxml-jackson-modules-base") | |
| 1532 | - | (version "2.9.0") | |
| 1533 | - | (source (origin | |
| 1534 | - | (method url-fetch) | |
| 1535 | - | (uri (string-append "https://github.com/FasterXML/" | |
| 1536 | - | "jackson-modules-base/archive/" | |
| 1537 | - | "jackson-modules-base-" version ".tar.gz")) | |
| 1538 | - | (sha256 | |
| 1539 | - | (base32 | |
| 1540 | - | "0gbv20nmg43swv8r7nszwxmq9gacwnysm70ymqlj6kp44big1dgs")))) | |
| 1541 | - | (build-system ant-build-system) | |
| 1542 | - | (arguments | |
| 1543 | - | `(#:jar-name "jackson-modules-base.jar" | |
| 1544 | - | #:source-dir "jaxb/src/main/java" | |
| 1545 | - | #:test-dir "jaxb/src/test" | |
| 1546 | - | #:test-exclude | |
| 1547 | - | ;; Base class for tests | |
| 1548 | - | (list "**/BaseJaxbTest.java") | |
| 1549 | - | #:phases | |
| 1550 | - | (modify-phases %standard-phases | |
| 1551 | - | (add-before 'configure 'generate-PackageVersion.java | |
| 1552 | - | (lambda _ | |
| 1553 | - | (let* ((out (string-append "jaxb/src/main/java/com/fasterxml/" | |
| 1554 | - | "jackson/module/jaxb/PackageVersion.java")) | |
| 1555 | - | (in (string-append out ".in"))) | |
| 1556 | - | (copy-file in out) | |
| 1557 | - | (substitute* out | |
| 1558 | - | (("@package@") "com.fasterxml.jackson.module.jaxb") | |
| 1559 | - | (("@projectversion@") ,version) | |
| 1560 | - | (("@projectgroupid@") "com.fasterxml.jackson.module.jaxb") | |
| 1561 | - | (("@projectartifactid@") "jackson-module-jaxb"))))) | |
| 1562 | - | (add-before 'build 'copy-resources | |
| 1563 | - | (lambda _ | |
| 1564 | - | (copy-recursively "jaxb/src/main/resources" "build/classes")))))) | |
| 1565 | - | (inputs | |
| 1566 | - | `(("java-fasterxml-jackson-annotations" ,java-fasterxml-jackson-annotations) | |
| 1567 | - | ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core) | |
| 1568 | - | ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind))) | |
| 1569 | - | (native-inputs | |
| 1570 | - | `(("java-junit" ,java-junit))) | |
| 1571 | - | (home-page "https://github.com/FasterXML/jackson-dataformat-xml") | |
| 1572 | - | (synopsis "") | |
| 1573 | - | (description "") | |
| 1574 | - | (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing | |
| 1575 | - | ||
| 1576 | - | (define-public java-woodstox-core | |
| 1577 | - | (package | |
| 1578 | - | (name "java-woodstox-core") | |
| 1579 | - | (version "5.0.3") | |
| 1580 | - | (source (origin | |
| 1581 | - | (method url-fetch) | |
| 1582 | - | (uri (string-append "https://github.com/FasterXML/woodstox/archive/woodstox-core-5.0.3.tar.gz")) | |
| 1583 | - | (sha256 | |
| 1584 | - | (base32 | |
| 1585 | - | "1i7pdgb8jbw6gdy5kmm0l6rz109n2ns92pqalpyp24vb8vlvdfd4")))) | |
| 1586 | - | (build-system ant-build-system) | |
| 1587 | - | (arguments | |
| 1588 | - | `(#:jar-name "woodstox.jar" | |
| 1589 | - | #:test-exclude | |
| 1590 | - | (list "**/Base*.java" "failing/**") | |
| 1591 | - | #:phases | |
| 1592 | - | (modify-phases %standard-phases | |
| 1593 | - | (add-before 'build 'remove-msv-dep | |
| 1594 | - | (lambda _ | |
| 1595 | - | ;; we don't need osgi, and it depends on msv | |
| 1596 | - | (delete-file-recursively "src/main/java/com/ctc/wstx/osgi") | |
| 1597 | - | ;; msv's latest release is from 2011 and we don't need it | |
| 1598 | - | (delete-file-recursively "src/main/java/com/ctc/wstx/msv") | |
| 1599 | - | (delete-file-recursively "src/test/java/wstxtest/osgi") | |
| 1600 | - | (delete-file-recursively "src/test/java/wstxtest/msv"))) | |
| 1601 | - | (add-before 'build 'copy-resources | |
| 1602 | - | (lambda _ | |
| 1603 | - | (copy-recursively "src/main/resources" "build/classes")))))) | |
| 1604 | - | (inputs | |
| 1605 | - | `(("stax2" ,java-stax2-api))) | |
| 1606 | - | (native-inputs | |
| 1607 | - | `(("junit" ,java-junit))) | |
| 1608 | - | (home-page "https://github.com/FasterXML/woodstox") | |
| 1609 | - | (synopsis "") | |
| 1610 | - | (description "") | |
| 1611 | - | (license license:asl2.0))) | |
| 1612 | - | ||
| 1613 | - | (define-public java-fasterxml-jackson-dataformat-xml | |
| 1614 | - | (package | |
| 1615 | - | (name "java-fasterxml-jackson-dataformat-xml") | |
| 1616 | - | (version "2.9.0") | |
| 1617 | - | (source (origin | |
| 1618 | - | (method url-fetch) | |
| 1619 | - | (uri (string-append "https://github.com/FasterXML/" | |
| 1620 | - | "jackson-dataformat-xml/archive/" | |
| 1621 | - | "jackson-dataformat-xml-" version ".tar.gz")) | |
| 1622 | - | (sha256 | |
| 1623 | - | (base32 | |
| 1624 | - | "0c1n25xi68kg4n74r9hfnm1q5c7grkmcfl16kpb3bnh2xrjizdlp")))) | |
| 1625 | - | (build-system ant-build-system) | |
| 1626 | - | (arguments | |
| 1627 | - | `(#:jar-name "jackson-dataformat-xml.jar" | |
| 1628 | - | #:source-dir "src/main/java" | |
| 1629 | - | ;; FIXME: tests fail to find the SAX API implementation in woodstox. | |
| 1630 | - | ;; It probably means this package is broken. | |
| 1631 | - | #:tests? #f | |
| 1632 | - | #:phases | |
| 1633 | - | (modify-phases %standard-phases | |
| 1634 | - | (add-before 'configure 'generate-PackageVersion.java | |
| 1635 | - | (lambda _ | |
| 1636 | - | (let* ((out "src/main/java/com/fasterxml/jackson/dataformat/xml/PackageVersion.java") | |
| 1637 | - | (in (string-append out ".in"))) | |
| 1638 | - | (copy-file in out) | |
| 1639 | - | (newline) | |
| 1640 | - | (substitute* out | |
| 1641 | - | (("@package@") "com.fasterxml.jackson.dataformat.xml") | |
| 1642 | - | (("@projectversion@") ,version) | |
| 1643 | - | (("@projectgroupid@") "com.fasterxml.jackson.dataformat.xml") | |
| 1644 | - | (("@projectartifactid@") "jackson-dataformat-xml"))))) | |
| 1645 | - | (add-before 'build 'copy-resources | |
| 1646 | - | (lambda _ | |
| 1647 | - | (mkdir-p "build/classes/META-INF") | |
| 1648 | - | (for-each (lambda (file) | |
| 1649 | - | (copy-file file (string-append "build/classes/META-INF/" | |
| 1650 | - | (basename file)))) | |
| 1651 | - | (find-files "src/main/resources/META-INF/" ".*"))))))) | |
| 1652 | - | (inputs | |
| 1653 | - | `(("java-fasterxml-jackson-annotations" ,java-fasterxml-jackson-annotations) | |
| 1654 | - | ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core) | |
| 1655 | - | ("java-fasterxml-jackson-modules-base" ,java-fasterxml-jackson-modules-base) | |
| 1656 | - | ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind) | |
| 1657 | - | ("java-stax2-api" ,java-stax2-api) | |
| 1658 | - | ("woodstox" ,java-woodstox-core))) | |
| 1659 | - | (native-inputs | |
| 1660 | - | `(("junit" ,java-junit) | |
| 1661 | - | ("hamcrest" ,java-hamcrest-core))) | |
| 1662 | - | (home-page "https://github.com/FasterXML/jackson-dataformat-xml") | |
| 1663 | - | (synopsis "") | |
| 1664 | - | (description "") | |
| 1665 | - | (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing | |
| 1666 | - | ||
| 1667 | - | (define-public java-stax2-api | |
| 1668 | - | (package | |
| 1669 | - | (name "java-stax2-api") | |
| 1670 | - | (version "4.0.0") | |
| 1671 | - | (source (origin | |
| 1672 | - | (method url-fetch) | |
| 1673 | - | (uri (string-append "https://github.com/FasterXML/stax2-api/archive/" | |
| 1674 | - | "stax2-api-" version ".tar.gz")) | |
| 1675 | - | (sha256 | |
| 1676 | - | (base32 | |
| 1677 | - | "1amc1si0l0hyyw2sawmnzy4hkna3z6fp195y4nm5m9wb9ld5awkq")))) | |
| 1678 | - | (build-system ant-build-system) | |
| 1679 | - | (arguments | |
| 1680 | - | `(#:jar-name "java-stax2-api.jar" | |
| 1681 | - | #:source-dir "src/main/java" | |
| 1682 | - | #:tests? #f)); no tests | |
| 1683 | - | (home-page "https://github.com/FasterXML/stax2-api") | |
| 1684 | - | (synopsis "Stax2 API") | |
| 1685 | - | (description "Stax2 API is an extension to basic Stax 1.0 API that adds | |
| 1686 | - | significant new functionalities, such as full-featured bi-direction validation | |
| 1687 | - | interface and high-performance Typed Access API.") | |
| 1688 | - | (license license:bsd-2))) | |
| 1689 | - | ||
| 1690 | 1402 | (define-public java-aspectj-weaver | |
| 1691 | 1403 | (package | |
| 1692 | 1404 | (name "java-aspectj-weaver") | |
… | |||
| 1963 | 1675 | ; ("java-spring-framework-aop" ,java-spring-framework-aop))) | |
| 1964 | 1676 | ; (native-inputs '()))) | |
| 1965 | 1677 | ||
| 1966 | - | ||
| 1967 | - | (define-public java-snakeyaml | |
| 1968 | - | (package | |
| 1969 | - | (name "java-snakeyaml") | |
| 1970 | - | (version "1.18") | |
| 1971 | - | (source (origin | |
| 1972 | - | (method url-fetch) | |
| 1973 | - | (uri (string-append "https://bitbucket.org/asomov/snakeyaml/get/v" | |
| 1974 | - | version ".tar.gz")) | |
| 1975 | - | (sha256 | |
| 1976 | - | (base32 | |
| 1977 | - | "0rf5ha6w0waz50jz2479jsrbgmd0dnx0gs337m126j5z7zlmg7mg")))) | |
| 1978 | - | (build-system ant-build-system) | |
| 1979 | - | (arguments | |
| 1980 | - | `(#:jar-name "java-snakeyaml.jar" | |
| 1981 | - | #:source-dir "src/main/java" | |
| 1982 | - | #:test-dir "src/test")) | |
| 1983 | - | (native-inputs | |
| 1984 | - | `(("junit" ,java-junit) | |
| 1985 | - | ("hamcrest" ,java-hamcrest-core) | |
| 1986 | - | ("joda-time" ,java-joda-time) | |
| 1987 | - | ("java-velocity" ,java-velocity))) | |
| 1988 | - | ;; FIXME: requires java-spring-framework-context | |
| 1989 | - | (home-page "https://bitbucket.org/asomov/snakeyaml") | |
| 1990 | - | (synopsis "") | |
| 1991 | - | (description "") | |
| 1992 | - | (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing | |
| 1993 | - | ||
| 1994 | - | (define java-snakeyaml-notests | |
| 1995 | - | (package (inherit java-snakeyaml) | |
| 1996 | - | (native-inputs '()) | |
| 1997 | - | (arguments | |
| 1998 | - | `(#:tests? #f | |
| 1999 | - | ,@(package-arguments java-snakeyaml))))) | |
| 2000 | - | ||
| 2001 | - | (define-public java-ops4j-base-lang | |
| 2002 | - | (package | |
| 2003 | - | (name "java-ops4j-base-lang") | |
| 2004 | - | (version "1.5.0") | |
| 2005 | - | (source (origin | |
| 2006 | - | (method url-fetch) | |
| 2007 | - | (uri (string-append "https://github.com/ops4j/org.ops4j.base/" | |
| 2008 | - | "archive/base-" version ".tar.gz")) | |
| 2009 | - | (sha256 | |
| 2010 | - | (base32 | |
| 2011 | - | "18hl3lpchgpv8yh5rlk39l2gif5dlfgb8gxjmncf39pr2dprkniw")))) | |
| 2012 | - | (build-system ant-build-system) | |
| 2013 | - | (arguments | |
| 2014 | - | `(#:jar-name "java-ops4j-base-lang.jar" | |
| 2015 | - | #:source-dir "ops4j-base-lang/src/main/java" | |
| 2016 | - | #:tests? #f; no tests | |
| 2017 | - | #:phases | |
| 2018 | - | (modify-phases %standard-phases | |
| 2019 | - | (add-before 'build 'add-test-file | |
| 2020 | - | (lambda _ | |
| 2021 | - | ;; That file is required by a test in ops4j-pax-exam-core-spi | |
| 2022 | - | (mkdir-p "build/classes/META-INF/maven/org.ops4j.base/ops4j-base-lang") | |
| 2023 | - | (with-output-to-file "build/classes/META-INF/maven/org.ops4j.base/ops4j-base-lang/pom.properties" | |
| 2024 | - | (lambda _ | |
| 2025 | - | (display | |
| 2026 | - | (string-append | |
| 2027 | - | "version=" ,version "\n" | |
| 2028 | - | "groupId=org.ops4j.base" | |
| 2029 | - | "artifactId=ops4j-base-lang\n"))))))))) | |
| 2030 | - | (home-page "https://ops4j1.jira.com/wiki/spaces/base/overview") | |
| 2031 | - | (synopsis "Utility classes and extensions to be used in OPS4J projects") | |
| 2032 | - | (description "OPS4J stands for Open Participation Software for Java. This | |
| 2033 | - | package contains utilities and extensions related to @code{java.lang}.") | |
| 2034 | - | (license license:asl2.0))) | |
| 2035 | - | ||
| 2036 | - | (define-public java-ops4j-base-monitors | |
| 2037 | - | (package | |
| 2038 | - | (inherit java-ops4j-base-lang) | |
| 2039 | - | (name "java-ops4j-base-monitors") | |
| 2040 | - | (arguments | |
| 2041 | - | `(#:jar-name "java-ops4j-base-monitors.jar" | |
| 2042 | - | #:source-dir "ops4j-base-monitors/src/main/java" | |
| 2043 | - | #:tests? #f)); no tests | |
| 2044 | - | (inputs | |
| 2045 | - | `(("lang" ,java-ops4j-base-lang))) | |
| 2046 | - | (description "OPS4J stands for Open Participation Software for Java. This | |
| 2047 | - | package contains utilities and extensions related to monitoring."))) | |
| 2048 | - | ||
| 2049 | - | (define-public java-ops4j-base-io | |
| 2050 | - | (package | |
| 2051 | - | (inherit java-ops4j-base-lang) | |
| 2052 | - | (name "java-ops4j-base-io") | |
| 2053 | - | (arguments | |
| 2054 | - | `(#:jar-name "java-ops4j-base-io.jar" | |
| 2055 | - | #:source-dir "ops4j-base-io/src/main/java" | |
| 2056 | - | #:test-dir "ops4j-base-io/src/test" | |
| 2057 | - | #:test-exclude | |
| 2058 | - | (list "**/ListerTest.java"))) | |
| 2059 | - | (inputs | |
| 2060 | - | `(("lang" ,java-ops4j-base-monitors) | |
| 2061 | - | ("lang" ,java-ops4j-base-lang))) | |
| 2062 | - | (native-inputs | |
| 2063 | - | `(("junit" ,java-junit) | |
| 2064 | - | ("hamcrest" ,java-hamcrest-core))) | |
| 2065 | - | (description "OPS4J stands for Open Participation Software for Java. This | |
| 2066 | - | package contains utilities and extensions related to handling streams and files."))) | |
| 2067 | - | ||
| 2068 | - | (define-public java-ops4j-base-util | |
| 2069 | - | (package | |
| 2070 | - | (inherit java-ops4j-base-lang) | |
| 2071 | - | (name "java-ops4j-base-util") | |
| 2072 | - | (arguments | |
| 2073 | - | `(#:jar-name "java-ops4j-base-util.jar" | |
| 2074 | - | #:source-dir "ops4j-base-util/src/main/java" | |
| 2075 | - | #:test-dir "ops4j-base-util/src/test")) | |
| 2076 | - | (inputs | |
| 2077 | - | `(("lang" ,java-ops4j-base-lang))) | |
| 2078 | - | (native-inputs | |
| 2079 | - | `(("junit" ,java-junit))) | |
| 2080 | - | (description "OPS4J stands for Open Participation Software for Java. This | |
| 2081 | - | package contains utilities and extensions related to environment, i18n and | |
| 2082 | - | mime types."))) | |
| 2083 | - | ||
| 2084 | - | (define-public java-ops4j-base-util-property | |
| 2085 | - | (package | |
| 2086 | - | (inherit java-ops4j-base-lang) | |
| 2087 | - | (name "java-ops4j-base-util-property") | |
| 2088 | - | (arguments | |
| 2089 | - | `(#:jar-name "java-ops4j-base-util-property.jar" | |
| 2090 | - | #:source-dir "ops4j-base-util-property/src/main/java" | |
| 2091 | - | #:tests? #f)); no tests | |
| 2092 | - | (inputs | |
| 2093 | - | `(("lang" ,java-ops4j-base-lang) | |
| 2094 | - | ("util" ,java-ops4j-base-util))) | |
| 2095 | - | (description "OPS4J stands for Open Participation Software for Java. This | |
| 2096 | - | package contains utilities and extensions related to resolving properties from | |
| 2097 | - | different sources."))) | |
| 2098 | - | ||
| 2099 | - | (define-public java-ops4j-base-store | |
| 2100 | - | (package | |
| 2101 | - | (inherit java-ops4j-base-lang) | |
| 2102 | - | (name "java-ops4j-base-store") | |
| 2103 | - | (arguments | |
| 2104 | - | `(#:jar-name "java-ops4j-base-store.jar" | |
| 2105 | - | #:source-dir "ops4j-base-store/src/main/java" | |
| 2106 | - | #:tests? #f)); no tests | |
| 2107 | - | (inputs | |
| 2108 | - | `(("lang" ,java-ops4j-base-lang) | |
| 2109 | - | ("slf4j" ,java-slf4j-api) | |
| 2110 | - | ("io" ,java-ops4j-base-io))) | |
| 2111 | - | (description "OPS4J stands for Open Participation Software for Java. This | |
| 2112 | - | package contains utilities for storing and retrieving data from an | |
| 2113 | - | @code{InputStream}."))) | |
| 2114 | - | ||
| 2115 | - | (define-public java-ops4j-base-spi | |
| 2116 | - | (package | |
| 2117 | - | (inherit java-ops4j-base-lang) | |
| 2118 | - | (name "java-ops4j-base-spi") | |
| 2119 | - | (arguments | |
| 2120 | - | `(#:jar-name "java-ops4j-base-spi.jar" | |
| 2121 | - | #:source-dir "ops4j-base-spi/src/main/java" | |
| 2122 | - | #:test-dir "ops4j-base-spi/src/test")) | |
| 2123 | - | (native-inputs | |
| 2124 | - | `(("junit" ,java-junit) | |
| 2125 | - | ("hamcrest" ,java-hamcrest-core))) | |
| 2126 | - | (description "OPS4J stands for Open Participation Software for Java. This | |
| 2127 | - | package contains utilities for obtaining services via the Java SE 6 | |
| 2128 | - | @code{ServiceLoader}."))) | |
| 2129 | - | ||
| 2130 | - | (define-public java-aqute-bndlib | |
| 2131 | - | (package | |
| 2132 | - | (name "java-aqute-bndlib") | |
| 2133 | - | (version "3.4.0") | |
| 2134 | - | (source (origin | |
| 2135 | - | (method url-fetch) | |
| 2136 | - | (uri (string-append "https://github.com/bndtools/bnd/archive/" | |
| 2137 | - | version ".REL.tar.gz")) | |
| 2138 | - | (file-name (string-append name "-" version ".tar.gz")) | |
| 2139 | - | (sha256 | |
| 2140 | - | (base32 | |
| 2141 | - | "09vgb6axikbz66zi9falijbnzh1qnp9ysfns123dmzdb01cbza9q")))) | |
| 2142 | - | (build-system ant-build-system) | |
| 2143 | - | (arguments | |
| 2144 | - | `(#:jar-name "java-bndlib.jar" | |
| 2145 | - | #:source-dir "biz.aQute.bndlib/src" | |
| 2146 | - | #:tests? #f)); no tests | |
| 2147 | - | (inputs | |
| 2148 | - | `(("slf4j" ,java-slf4j-api) | |
| 2149 | - | ("osgi-annot" ,java-osgi-annotation) | |
| 2150 | - | ("java-aqute-libg" ,java-aqute-libg) | |
| 2151 | - | ("java-aqute-bnd-annotation" ,java-aqute-bnd-annotation) | |
| 2152 | - | ("java-osgi-service-component-annotations" ,java-osgi-service-component-annotations) | |
| 2153 | - | ("java-osgi-service-repository" ,java-osgi-service-repository) | |
| 2154 | - | ("java-osgi-service-log" ,java-osgi-service-log) | |
| 2155 | - | ("java-osgi-service-metatype-annotations" ,java-osgi-service-metatype-annotations) | |
| 2156 | - | ("java-osgi-namespace-contract" ,java-osgi-namespace-contract) | |
| 2157 | - | ("java-osgi-namespace-extender" ,java-osgi-namespace-extender) | |
| 2158 | - | ("java-osgi-namespace-service" ,java-osgi-namespace-service) | |
| 2159 | - | ("promise" ,java-osgi-util-promise) | |
| 2160 | - | ("osgi" ,java-osgi-core))) | |
| 2161 | - | (home-page "http://bnd.bndtools.org/") | |
| 2162 | - | (synopsis "Tools for OSGi") | |
| 2163 | - | (description "Bnd is a swiss army knife for OSGi, it creates manifest | |
| 2164 | - | headers based on analyzing the class code, it verifies the project settings, | |
| 2165 | - | it manages project dependencies, gives diffs jars, and much more.") | |
| 2166 | - | (license license:asl2.0))) | |
| 2167 | - | ||
| 2168 | - | (define-public java-aqute-libg | |
| 2169 | - | (package | |
| 2170 | - | (inherit java-aqute-bndlib) | |
| 2171 | - | (name "java-aqute-libg") | |
| 2172 | - | (arguments | |
| 2173 | - | `(#:jar-name "java-aqute-libg.jar" | |
| 2174 | - | #:source-dir "aQute.libg/src" | |
| 2175 | - | #:tests? #f)); actually in "aQute.libg/test", not in .../java | |
| 2176 | - | (inputs | |
| 2177 | - | `(("slf4j" ,java-slf4j-api) | |
| 2178 | - | ("osgi-annot" ,java-osgi-annotation) | |
| 2179 | - | ("java-osgi-cmpn" ,java-osgi-cmpn) | |
| 2180 | - | ("osgi" ,java-osgi-core))))) | |
| 2181 | - | ||
| 2182 | - | (define-public java-aqute-bnd-annotation | |
| 2183 | - | (package | |
| 2184 | - | (inherit java-aqute-bndlib) | |
| 2185 | - | (name "java-aqute-bnd-annotation") | |
| 2186 | - | (arguments | |
| 2187 | - | `(#:jar-name "java-aqute-bnd-annotation.jar" | |
| 2188 | - | #:source-dir "biz.aQute.bnd.annotation/src" | |
| 2189 | - | #:tests? #f)); empty test dir | |
| 2190 | - | (inputs '()))) | |
| 2191 | - | ||
| 2192 | - | (define-public java-ops4j-pax-tinybundles | |
| 2193 | - | (package | |
| 2194 | - | (name "java-ops4j-pax-tinybundles") | |
| 2195 | - | (version "2.1.1") | |
| 2196 | - | (source (origin | |
| 2197 | - | (method url-fetch) | |
| 2198 | - | (uri (string-append "https://github.com/ops4j/org.ops4j.pax.tinybundles/" | |
| 2199 | - | "archive/tinybundles-" version ".tar.gz")) | |
| 2200 | - | (sha256 | |
| 2201 | - | (base32 | |
| 2202 | - | "0y0gq3pvv0iir2b885lmlwnvr724vv7vklzhhr4fs27d7mdkj871")))) | |
| 2203 | - | (arguments | |
| 2204 | - | `(#:jar-name "java-ops4j-pax-tinybundles.jar" | |
| 2205 | - | #:source-dir "src/main/java" | |
| 2206 | - | #:test-exclude | |
| 2207 | - | ;; Abstract base classes for other tests | |
| 2208 | - | (list "**/BndTest.java" "**/CoreTest.java") | |
| 2209 | - | #:phases | |
| 2210 | - | (modify-phases %standard-phases | |
| 2211 | - | (add-before 'check 'fix-version | |
| 2212 | - | (lambda _ | |
| 2213 | - | ;; This test has a reference to an old version of bndlib we are not | |
| 2214 | - | ;; packaging. It uses the version referenced in pom.xml. We replace | |
| 2215 | - | ;; it with our own version. | |
| 2216 | - | (substitute* "src/test/java/org/ops4j/pax/tinybundles/bnd/BndTest.java" | |
| 2217 | - | (("2.4.0.201411031534") "3.4.0"))))))) | |
| 2218 | - | (inputs | |
| 2219 | - | `(("lang" ,java-ops4j-base-lang) | |
| 2220 | - | ("io" ,java-ops4j-base-io) | |
| 2221 | - | ("store" ,java-ops4j-base-store) | |
| 2222 | - | ("slf4j" ,java-slf4j-api) | |
| 2223 | - | ("libg" ,java-aqute-libg) | |
| 2224 | - | ("bndlib" ,java-aqute-bndlib))) | |
| 2225 | - | (native-inputs | |
| 2226 | - | `(("junit" ,java-junit) | |
| 2227 | - | ("hamcrest" ,java-hamcrest-core) | |
| 2228 | - | ("log4j" ,java-log4j-api) | |
| 2229 | - | ("bndannotation" ,java-aqute-bnd-annotation) | |
| 2230 | - | ("framework" ,java-osgi-framework))) | |
| 2231 | - | (build-system ant-build-system) | |
| 2232 | - | (home-page "https://ops4j1.jira.com/wiki/spaces/ops4j/pages/12060312/Tinybundles") | |
| 2233 | - | (synopsis "Java APIs to create OSGi related artifacts") | |
| 2234 | - | (description "Tinybundles is all about creating OSGi related artifacts like | |
| 2235 | - | Bundles, Fragments and Deployment Packages with Java Api. It is very convinient | |
| 2236 | - | to create such artifacts on-the-fly inside Tests (like in Pax Exam). On the | |
| 2237 | - | other hand, this library can be a foundation of real end user tools that need | |
| 2238 | - | to create those artifacts.") | |
| 2239 | - | (license license:asl2.0))) | |
| 2240 | - | ||
| 2241 | - | (define-public java-ops4j-pax-exam-core | |
| 2242 | - | (package | |
| 2243 | - | (name "java-ops4j-pax-exam-core") | |
| 2244 | - | (version "4.11.0") | |
| 2245 | - | (source (origin | |
| 2246 | - | (method url-fetch) | |
| 2247 | - | (uri (string-append "https://github.com/ops4j/org.ops4j.pax.exam2/" | |
| 2248 | - | "archive/exam-reactor-" version ".tar.gz")) | |
| 2249 | - | (sha256 | |
| 2250 | - | (base32 | |
| 2251 | - | "08mzw8nkah3rj3vznlplnawspxhp61zgvb44ifqa1rni1cvbms2g")))) | |
| 2252 | - | (arguments | |
| 2253 | - | `(#:jar-name "java-ops4j-pax-exam-core.jar" | |
| 2254 | - | #:source-dir "core/pax-exam/src/main/java" | |
| 2255 | - | #:test-dir "core/pax-exam/src/test")) | |
| 2256 | - | (inputs | |
| 2257 | - | `(("slf4j" ,java-slf4j-api) | |
| 2258 | - | ("lang" ,java-ops4j-base-lang) | |
| 2259 | - | ("io" ,java-ops4j-base-io) | |
| 2260 | - | ("util-property" ,java-ops4j-base-util-property) | |
| 2261 | - | ("util-store" ,java-ops4j-base-store) | |
| 2262 | - | ("java-osgi-core" ,java-osgi-core))) | |
| 2263 | - | (native-inputs | |
| 2264 | - | `(("junit" ,java-junit) | |
| 2265 | - | ("hamcrest" ,java-hamcrest-core))) | |
| 2266 | - | (build-system ant-build-system) | |
| 2267 | - | (home-page "https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/overview") | |
| 2268 | - | (synopsis "In-Container Testing for OSGi, Java EE and CDI") | |
| 2269 | - | (description "Pax Exam creates OSGi bundles for testing purposes. It lets | |
| 2270 | - | the user take control of the OSGi framework, the test framework (e.g. JUnit) and | |
| 2271 | - | the system under test at the same time.") | |
| 2272 | - | (license license:asl2.0))) | |
| 2273 | - | ||
| 2274 | - | (define-public java-ops4j-pax-exam-core-spi | |
| 2275 | - | (package | |
| 2276 | - | (inherit java-ops4j-pax-exam-core) | |
| 2277 | - | (name "java-ops4j-pax-exam-core-spi") | |
| 2278 | - | (arguments | |
| 2279 | - | `(#:jar-name "java-ops4j-pax-exam-spi.jar" | |
| 2280 | - | #:source-dir "src/main/java" | |
| 2281 | - | #:test-exclude | |
| 2282 | - | (list | |
| 2283 | - | ;; Abstract base class, not a test | |
| 2284 | - | "**/BaseStagedReactorTest.java" | |
| 2285 | - | ;; Depends on org.mortbay.jetty.testwars:test-war-dump | |
| 2286 | - | "**/WarBuilderTest.java") | |
| 2287 | - | #:phases | |
| 2288 | - | (modify-phases %standard-phases | |
| 2289 | - | (add-before 'configure 'chdir | |
| 2290 | - | (lambda _ | |
| 2291 | - | ;; Tests assume we are in this directory | |
| 2292 | - | (chdir "core/pax-exam-spi"))) | |
| 2293 | - | (add-before 'check 'fix-tests | |
| 2294 | - | (lambda _ | |
| 2295 | - | ;; One test checks that this file is present. | |
| 2296 | - | (mkdir-p "build/classes/META-INF/maven/org.ops4j.pax.exam/pax-exam-spi") | |
| 2297 | - | (with-output-to-file "build/classes/META-INF/maven/org.ops4j.pax.exam/pax-exam-spi/pom.properties" | |
| 2298 | - | (lambda _ | |
| 2299 | - | (display | |
| 2300 | - | (string-append "artifactId = pax-exam-spi\n" | |
| 2301 | - | "version = " ,(package-version java-ops4j-pax-exam-core-spi))))) | |
| 2302 | - | ;; Maven puts compilation results in the target directory, while we | |
| 2303 | - | ;; put them in the build directory. | |
| 2304 | - | (substitute* '("src/test/java/org/ops4j/pax/exam/spi/war/WarBuilderTest.java" | |
| 2305 | - | "src/test/java/org/ops4j/pax/exam/spi/war/WarTestProbeBuilderTest.java" | |
| 2306 | - | "src/test/java/org/ops4j/pax/exam/spi/war/ZipBuilderTest.java") | |
| 2307 | - | (("target") "build")) | |
| 2308 | - | ;; One test is expected to fail, but it doesn't throw the expected exception | |
| 2309 | - | (substitute* "src/test/java/org/ops4j/pax/exam/spi/reactors/BaseStagedReactorTest.java" | |
| 2310 | - | (("AssertionError") "IllegalArgumentException"))))))) | |
| 2311 | - | (inputs | |
| 2312 | - | `(("java-ops4j-pax-exam-core" ,java-ops4j-pax-exam-core) | |
| 2313 | - | ("lang" ,java-ops4j-base-lang) | |
| 2314 | - | ("monitors" ,java-ops4j-base-monitors) | |
| 2315 | - | ("store" ,java-ops4j-base-store) | |
| 2316 | - | ("io" ,java-ops4j-base-io) | |
| 2317 | - | ("spi" ,java-ops4j-base-spi) | |
| 2318 | - | ("osgi" ,java-osgi-core) | |
| 2319 | - | ("slf4j" ,java-slf4j-api) | |
| 2320 | - | ("tinybundles" ,java-ops4j-pax-tinybundles))) | |
| 2321 | - | (native-inputs | |
| 2322 | - | `(("mockito" ,java-mockito-1) | |
| 2323 | - | ("junit" ,java-junit) | |
| 2324 | - | ("hamcrest" ,java-hamcrest-core) | |
| 2325 | - | ("cglib" ,java-cglib) | |
| 2326 | - | ("objenesis" ,java-objenesis) | |
| 2327 | - | ("asm" ,java-asm))))) | |
| 2328 | - | ||
| 2329 | - | (define-public java-ops4j-pax-exam-core-junit | |
| 2330 | - | (package | |
| 2331 | - | (inherit java-ops4j-pax-exam-core) | |
| 2332 | - | (name "java-ops4j-pax-exam-core-junit") | |
| 2333 | - | (arguments | |
| 2334 | - | `(#:jar-name "ops4j-pax-exam-core-junit.jar" | |
| 2335 | - | #:source-dir "drivers/pax-exam-junit4/src/main/java" | |
| 2336 | - | #:tests? #f)); no tests | |
| 2337 | - | (inputs | |
| 2338 | - | `(("junit" ,java-junit) | |
| 2339 | - | ("slf4j" ,java-slf4j-api) | |
| 2340 | - | ("core" ,java-ops4j-pax-exam-core) | |
| 2341 | - | ("spi" ,java-ops4j-pax-exam-core-spi))) | |
| 2342 | - | (native-inputs '()))) | |
| 2343 | - | ||
| 2344 | - | (define-public java-fasterxml-jackson-dataformat-yaml | |
| 2345 | - | (package | |
| 2346 | - | (name "java-fasterxml-jackson-dataformat-yaml") | |
| 2347 | - | (version "2.8.9") | |
| 2348 | - | (source (origin | |
| 2349 | - | (method url-fetch) | |
| 2350 | - | (uri (string-append "https://github.com/FasterXML/" | |
| 2351 | - | "jackson-dataformat-yaml/archive/" | |
| 2352 | - | "jackson-dataformat-yaml-" version ".tar.gz")) | |
| 2353 | - | (sha256 | |
| 2354 | - | (base32 | |
| 2355 | - | "1a4kgwf68abq2shq0wip7qzl5kdnadql4zashxx4bi0hw4z1pyg4")))) | |
| 2356 | - | (build-system ant-build-system) | |
| 2357 | - | (arguments | |
| 2358 | - | `(#:jar-name "jackson-dataformat-yaml.jar" | |
| 2359 | - | #:source-dir "src/main/java" | |
| 2360 | - | #:test-exclude (list "**/failing/**.java") | |
| 2361 | - | #:phases | |
| 2362 | - | (modify-phases %standard-phases | |
| 2363 | - | (add-before 'configure 'generate-PackageVersion.java | |
| 2364 | - | (lambda _ | |
| 2365 | - | (let* ((out "src/main/java/com/fasterxml/jackson/dataformat/yaml/PackageVersion.java") | |
| 2366 | - | (in (string-append out ".in"))) | |
| 2367 | - | (copy-file in out) | |
| 2368 | - | (substitute* out | |
| 2369 | - | (("@package@") "com.fasterxml.jackson.dataformat.yaml") | |
| 2370 | - | (("@projectversion@") ,version) | |
| 2371 | - | (("@projectgroupid@") "com.fasterxml.jackson.dataformat.yaml") | |
| 2372 | - | (("@projectartifactid@") "jackson-dataformat-yaml")))))))) | |
| 2373 | - | (inputs | |
| 2374 | - | `(("java-fasterxml-jackson-annotations" ,java-fasterxml-jackson-annotations) | |
| 2375 | - | ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core) | |
| 2376 | - | ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind) | |
| 2377 | - | ("java-snakeyaml" ,java-snakeyaml-notests))) | |
| 2378 | - | (native-inputs | |
| 2379 | - | `(("junit" ,java-junit) | |
| 2380 | - | ("hamcrest" ,java-hamcrest-core) | |
| 2381 | - | ("java-ops4j-pax-exam-core-spi" ,java-ops4j-pax-exam-core-spi) | |
| 2382 | - | ("java-ops4j-pax-exam-core-junit" ,java-ops4j-pax-exam-core-junit) | |
| 2383 | - | ("java-ops4j-pax-exam" ,java-ops4j-pax-exam-core))) | |
| 2384 | - | (home-page "https://github.com/FasterXML/jackson-dataformat-yaml") | |
| 2385 | - | (synopsis "") | |
| 2386 | - | (description "") | |
| 2387 | - | (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing | |
| 2388 | - | ||
| 2389 | 1678 | (define-public java-lucene-core | |
| 2390 | 1679 | (package | |
| 2391 | 1680 | (name "java-lucene-core") | |