Add sbt dependencies
more/packages/java.scm
| 4718 | 4718 | (file-name (string-append name "-" version ".tar.gz")) | |
| 4719 | 4719 | (sha256 | |
| 4720 | 4720 | (base32 | |
| 4721 | - | "1350yl003y1fjzdwis0dg5jhi5kggk2sxnkv9821z5janw4p986m")))) | |
| 4721 | + | "11k7fhhx6xcpz6iwsxpvr5ivbv1db6xmrrnhl1nzhxl8ja1rsmdc")))) | |
| 4722 | 4722 | (build-system ant-build-system) | |
| 4723 | 4723 | (propagated-inputs | |
| 4724 | 4724 | `(("java-asm" ,java-asm))) | |
… | |||
| 6467 | 6467 | #:tests? #f | |
| 6468 | 6468 | #:phases | |
| 6469 | 6469 | (modify-phases %standard-phases | |
| 6470 | - | (add-before 'build 'build-DescriptorProtos.java | |
| 6471 | - | (lambda _ | |
| 6472 | - | (invoke "protoc" "--java_out=java/core/src/main/java" "-Isrc" | |
| 6470 | + | (add-before 'build 'build-DescriptorProtos.java | |
| 6471 | + | (lambda _ | |
| 6472 | + | (invoke "protoc" "--java_out=java/core/src/main/java" "-Isrc" | |
| 6473 | 6473 | "src/google/protobuf/descriptor.proto") | |
| 6474 | - | #t))))) | |
| 6474 | + | #t))))) | |
| 6475 | 6475 | (inputs | |
| 6476 | 6476 | `(("java-guava" ,java-guava))) | |
| 6477 | 6477 | (native-inputs | |
… | |||
| 6486 | 6486 | (name "java-jzlib") | |
| 6487 | 6487 | (version "1.1.3") | |
| 6488 | 6488 | (source (origin | |
| 6489 | - | (method url-fetch) | |
| 6490 | - | (uri (string-append "https://github.com/ymnk/jzlib/archive/" | |
| 6491 | - | version ".tar.gz")) | |
| 6489 | + | (method url-fetch) | |
| 6490 | + | (uri (string-append "https://github.com/ymnk/jzlib/archive/" | |
| 6491 | + | version ".tar.gz")) | |
| 6492 | 6492 | (sha256 | |
| 6493 | 6493 | (base32 | |
| 6494 | 6494 | "1i0fplk22dlyaz3id0d8hb2wlsl36w9ggbvsq67sx77y0mi6bnl3")))) | |
… | |||
| 6621 | 6621 | (name "java-conversantmedia-disruptor") | |
| 6622 | 6622 | (version "1.2.14") | |
| 6623 | 6623 | (source (origin | |
| 6624 | - | (method url-fetch) | |
| 6625 | - | (uri (string-append "https://github.com/conversant/disruptor/archive/" version ".tar.gz")) | |
| 6626 | - | (sha256 | |
| 6627 | - | (base32 | |
| 6628 | - | "0sbr6bcsawzfzwcxxlyh6lqqlqd09qld0xika9dhd01kxl60srwb")))) | |
| 6624 | + | (method url-fetch) | |
| 6625 | + | (uri (string-append "https://github.com/conversant/disruptor/archive/" version ".tar.gz")) | |
| 6626 | + | (sha256 | |
| 6627 | + | (base32 | |
| 6628 | + | "0sbr6bcsawzfzwcxxlyh6lqqlqd09qld0xika9dhd01kxl60srwb")))) | |
| 6629 | 6629 | (build-system ant-build-system) | |
| 6630 | 6630 | (arguments | |
| 6631 | 6631 | `(#:jar-name "conversantmedia-disruptor.jar" | |
… | |||
| 6640 | 6640 | (synopsis "") | |
| 6641 | 6641 | (description "") | |
| 6642 | 6642 | (license license:asl2.0))) | |
| 6643 | + | ||
| 6644 | + | (define-public java-okio | |
| 6645 | + | (package | |
| 6646 | + | (name "java-okio") | |
| 6647 | + | (version "1.16.0") | |
| 6648 | + | (source (origin | |
| 6649 | + | (method url-fetch) | |
| 6650 | + | (uri (string-append "https://github.com/square/okio/archive/okio-parent-" | |
| 6651 | + | version ".tar.gz")) | |
| 6652 | + | (sha256 | |
| 6653 | + | (base32 | |
| 6654 | + | "05xxrsv2klfvcnp5r4ri28d7hh502wcwlvsm9lnx4kpqlpkq0yzp")))) | |
| 6655 | + | (build-system ant-build-system) | |
| 6656 | + | (arguments | |
| 6657 | + | `(#:jar-name "okio.jar" | |
| 6658 | + | #:source-dir "okio/src/main/java" | |
| 6659 | + | #:test-dir "okio/src/test")) | |
| 6660 | + | (inputs | |
| 6661 | + | `(("java-jsr305" ,java-jsr305) | |
| 6662 | + | ("java-animal-sniffer-annotations" ,java-animal-sniffer-annotations))) | |
| 6663 | + | (native-inputs | |
| 6664 | + | `(("java-hamcrest-core" ,java-hamcrest-core) | |
| 6665 | + | ("java-junit" ,java-junit))) | |
| 6666 | + | (home-page "") | |
| 6667 | + | (synopsis "") | |
| 6668 | + | (description "") | |
| 6669 | + | (license license:asl2.0))) | |
| 6670 | + | ||
| 6671 | + | (define-public java-okhttp | |
| 6672 | + | (package | |
| 6673 | + | (name "java-okhttp") | |
| 6674 | + | (version "3.12.0") | |
| 6675 | + | (source (origin | |
| 6676 | + | (method url-fetch) | |
| 6677 | + | (uri (string-append "https://github.com/square/okhttp/archive/parent-" | |
| 6678 | + | version ".tar.gz")) | |
| 6679 | + | (sha256 | |
| 6680 | + | (base32 | |
| 6681 | + | "1gj3rlz2sy6hbdy7yp18f2rb19z0mrp0wai6fls1slsds4fay2gr")))) | |
| 6682 | + | (build-system ant-build-system) | |
| 6683 | + | (arguments | |
| 6684 | + | `(#:jar-name "okhttp.jar" | |
| 6685 | + | #:source-dir "okhttp/src/main/java" | |
| 6686 | + | #:test-dir "okhttp/src/test" | |
| 6687 | + | #:phases | |
| 6688 | + | (modify-phases %standard-phases | |
| 6689 | + | (add-after 'unpack 'remove-platforms | |
| 6690 | + | (lambda _ | |
| 6691 | + | (delete-file "okhttp/src/main/java/okhttp3/internal/platform/AndroidPlatform.java") | |
| 6692 | + | (delete-file "okhttp/src/main/java/okhttp3/internal/platform/ConscryptPlatform.java") | |
| 6693 | + | (substitute* "okhttp/src/main/java/okhttp3/internal/platform/Platform.java" | |
| 6694 | + | (("AndroidPlatform.buildIfSupported.*") "null;\n") | |
| 6695 | + | (("ConscryptPlatform.buildIfSupported.*") "null;\n")) | |
| 6696 | + | #t)) | |
| 6697 | + | (add-after 'unpack 'fill-templates | |
| 6698 | + | (lambda _ | |
| 6699 | + | (with-directory-excursion "okhttp/src/main/java-templates" | |
| 6700 | + | (for-each | |
| 6701 | + | (lambda (file) | |
| 6702 | + | (let ((installed-name (string-append "../java/" file))) | |
| 6703 | + | (copy-file file installed-name) | |
| 6704 | + | (substitute* installed-name | |
| 6705 | + | (("\\$\\{project.version\\}") ,version)))) | |
| 6706 | + | (find-files "." ".*.java"))) | |
| 6707 | + | #t))))) | |
| 6708 | + | (inputs | |
| 6709 | + | `(("java-animal-sniffer-annotations" ,java-animal-sniffer-annotations) | |
| 6710 | + | ("java-jsr305" ,java-jsr305) | |
| 6711 | + | ("java-okio" ,java-okio))) | |
| 6712 | + | (native-inputs | |
| 6713 | + | `(("java-junit" ,java-junit))) | |
| 6714 | + | (home-page "") | |
| 6715 | + | (synopsis "") | |
| 6716 | + | (description "") | |
| 6717 | + | (license license:asl2.0))) | |
| 6718 | + | ||
| 6719 | + | (define-public java-config | |
| 6720 | + | (package | |
| 6721 | + | (name "java-config") | |
| 6722 | + | (version "1.3.3") | |
| 6723 | + | (source (origin | |
| 6724 | + | (method url-fetch) | |
| 6725 | + | (uri (string-append "https://github.com/lightbend/config/archive/v" | |
| 6726 | + | version ".tar.gz")) | |
| 6727 | + | (sha256 | |
| 6728 | + | (base32 | |
| 6729 | + | "0jsw3s902aqj5c9iddj7ahy9qlrc39d7w3jj9y13bn5ja8biazzk")))) | |
| 6730 | + | (build-system ant-build-system) | |
| 6731 | + | (arguments | |
| 6732 | + | `(#:jar-name "config.jar" | |
| 6733 | + | #:source-dir "config/src/main/java" | |
| 6734 | + | #:test-dir "config/src/test")) | |
| 6735 | + | (native-inputs | |
| 6736 | + | `(("java-junit" ,java-junit))) | |
| 6737 | + | (home-page "") | |
| 6738 | + | (synopsis "") | |
| 6739 | + | (description "") | |
| 6740 | + | (license license:asl2.0))) | |
| 6741 | + | ||
| 6742 | + | (define-public java-reactive-streams | |
| 6743 | + | (package | |
| 6744 | + | (name "java-reactive-streams") | |
| 6745 | + | (version "1.0.2") | |
| 6746 | + | (source (origin | |
| 6747 | + | (method url-fetch) | |
| 6748 | + | (uri (string-append "https://github.com/reactive-streams/reactive-streams-jvm/archive/v" | |
| 6749 | + | version ".tar.gz")) | |
| 6750 | + | (sha256 | |
| 6751 | + | (base32 | |
| 6752 | + | "16nrm8fv058vr8442986yl6kvdb7w5if8lb8ip2jakawjq93k2vm")))) | |
| 6753 | + | (build-system ant-build-system) | |
| 6754 | + | (arguments | |
| 6755 | + | `(#:jar-name "reactive-streams.jar" | |
| 6756 | + | #:source-dir "api/src/main/java" | |
| 6757 | + | ;; No tests | |
| 6758 | + | #:tests? #f)) | |
| 6759 | + | (home-page "") | |
| 6760 | + | (synopsis "") | |
| 6761 | + | (description "") | |
| 6762 | + | (license license:asl2.0))) | |
more/packages/scala.scm
| 694 | 694 | (description "") | |
| 695 | 695 | (license license:bsd-3))) | |
| 696 | 696 | ||
| 697 | + | (define-public scala-ssl-config | |
| 698 | + | (package | |
| 699 | + | (name "scala-ssl-config") | |
| 700 | + | (version "0.3.4") | |
| 701 | + | (source (origin | |
| 702 | + | (method url-fetch) | |
| 703 | + | (uri (string-append "https://github.com/lightbend/ssl-config/archive/v" | |
| 704 | + | version ".tar.gz")) | |
| 705 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 706 | + | (sha256 | |
| 707 | + | (base32 | |
| 708 | + | "1wbxxg64xlgw1p5mrqn0vkj2l7k55c4safdxw05pxrdx0nmirnl2")))) | |
| 709 | + | (build-system ant-build-system) | |
| 710 | + | (arguments | |
| 711 | + | `(#:tests? #f | |
| 712 | + | #:phases | |
| 713 | + | (modify-phases %standard-phases | |
| 714 | + | (replace 'build | |
| 715 | + | (lambda* (#:key inputs #:allow-other-keys) | |
| 716 | + | (mkdir-p "build/classes") | |
| 717 | + | (apply invoke "scalac" "-classpath" (getenv "CLASSPATH") | |
| 718 | + | "-d" "build/classes" | |
| 719 | + | (find-files "ssl-config-core/src/main/scala" ".*.scala$")) | |
| 720 | + | (invoke "jar" "cf" "okhttp.jar" "-C" "build/classes" ".") | |
| 721 | + | #t)) | |
| 722 | + | (replace 'install | |
| 723 | + | (install-jars "."))))) | |
| 724 | + | (inputs | |
| 725 | + | `(("java-config" ,java-config))) | |
| 726 | + | (native-inputs | |
| 727 | + | `(("scala" ,scala-official))) | |
| 728 | + | (home-page "") | |
| 729 | + | (synopsis "") | |
| 730 | + | (description "") | |
| 731 | + | (license license:asl2.0))) | |
| 732 | + | ||
| 733 | + | (define-public scala-okhttp | |
| 734 | + | (package | |
| 735 | + | (name "scala-okhttp") | |
| 736 | + | (version "0.3.1") | |
| 737 | + | (source (origin | |
| 738 | + | (method url-fetch) | |
| 739 | + | (uri (string-append "https://github.com/eed3si9n/gigahorse/archive/v" | |
| 740 | + | version ".tar.gz")) | |
| 741 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 742 | + | (sha256 | |
| 743 | + | (base32 | |
| 744 | + | "06ac03vr0cyr63zw0ibdwmswa03crm6i8mb00y69zpkm2jxqq2mb")))) | |
| 745 | + | (build-system ant-build-system) | |
| 746 | + | (arguments | |
| 747 | + | `(#:tests? #f | |
| 748 | + | #:phases | |
| 749 | + | (modify-phases %standard-phases | |
| 750 | + | (replace 'build | |
| 751 | + | (lambda* (#:key inputs #:allow-other-keys) | |
| 752 | + | (mkdir-p "build/classes") | |
| 753 | + | (apply invoke "scalac" "-classpath" (getenv "CLASSPATH") | |
| 754 | + | "-d" "build/classes" | |
| 755 | + | (append | |
| 756 | + | (find-files "core/src/main/scala" ".*.scala$") | |
| 757 | + | (find-files "gigahorse/src/main/scala" ".*.scala$") | |
| 758 | + | (find-files "core/src/main/contraband-scala" ".*.scala$"))) | |
| 759 | + | (invoke "jar" "cf" "okhttp.jar" "-C" "build/classes" ".") | |
| 760 | + | #t)) | |
| 761 | + | (replace 'install | |
| 762 | + | (install-jars "."))))) | |
| 763 | + | (inputs | |
| 764 | + | `(("java-config" ,java-config) | |
| 765 | + | ("java-reactive-streams" ,java-reactive-streams) | |
| 766 | + | ("java-slf4j-api" ,java-slf4j-api) | |
| 767 | + | ("scala-ssl-config" ,scala-ssl-config))) | |
| 768 | + | (native-inputs | |
| 769 | + | `(("scala" ,scala-official))) | |
| 770 | + | (home-page "") | |
| 771 | + | (synopsis "") | |
| 772 | + | (description "") | |
| 773 | + | (license license:asl2.0))) | |
| 774 | + | ||
| 697 | 775 | ;; https://index.scala-lang.org/eed3si9n/gigahorse/gigahorse-okhttp/0.3.0?target=_2.12 | |
| 698 | 776 | (define-public sbt-librarymanagement | |
| 699 | 777 | (package | |
| 700 | 778 | (name "sbt-librarymanagement") | |
| 701 | 779 | (version "1.2.3") | |
| 702 | 780 | (source (origin | |
| 703 | - | (method url-fetch) | |
| 704 | - | (uri (string-append "https://github.com/sbt/librarymanagement/archive/v" version ".tar.gz")) | |
| 705 | - | (file-name (string-append name "-" version ".tar.gz")) | |
| 706 | - | (sha256 | |
| 707 | - | (base32 | |
| 708 | - | "0a29xzcw2qzviv073g040m3lcylybh2qj1xcdkcjdcfajad7c27k")))) | |
| 781 | + | (method url-fetch) | |
| 782 | + | (uri (string-append "https://github.com/sbt/librarymanagement/archive/v" version ".tar.gz")) | |
| 783 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 784 | + | (sha256 | |
| 785 | + | (base32 | |
| 786 | + | "0a29xzcw2qzviv073g040m3lcylybh2qj1xcdkcjdcfajad7c27k")))) | |
| 709 | 787 | (build-system ant-build-system) | |
| 710 | 788 | (arguments | |
| 711 | 789 | `(#:tests? #f | |
… | |||
| 730 | 808 | ("sbt-util-logging" ,sbt-util-logging) | |
| 731 | 809 | ("sbt-util-position" ,sbt-util-position) | |
| 732 | 810 | ("sbt-io" ,sbt-io) | |
| 811 | + | ("scala-okhttp" ,scala-okhttp) | |
| 733 | 812 | ("scala-sjsonnew" ,scala-sjsonnew))) | |
| 734 | 813 | (native-inputs | |
| 735 | 814 | `(("scala" ,scala-official))) | |
… | |||
| 824 | 903 | `(("scala" ,scala-official) | |
| 825 | 904 | ("scala-sjsonnew" ,scala-sjsonnew) | |
| 826 | 905 | ("sbt-io" ,sbt-io) | |
| 906 | + | ("sbt-librarymanagement" ,sbt-librarymanagement) | |
| 827 | 907 | ("sbt-util-cache" ,sbt-util-cache) | |
| 828 | 908 | ("sbt-util-control" ,sbt-util-control) | |
| 829 | 909 | ("sbt-util-interface" ,sbt-util-interface) | |