Add dependencies
more/packages/java.scm
| 994 | 994 | (inputs | |
| 995 | 995 | `(("java-aqute-bndlib" ,java-aqute-bndlib))))) | |
| 996 | 996 | ||
| 997 | + | (define-public java-asm-7 | |
| 998 | + | (package | |
| 999 | + | (inherit java-asm) | |
| 1000 | + | (version "7.0") | |
| 1001 | + | (source (origin | |
| 1002 | + | (method git-fetch) | |
| 1003 | + | (uri (git-reference | |
| 1004 | + | (url "https://gitlab.ow2.org/asm/asm") | |
| 1005 | + | (commit "1f6020a3f17d9d88dfd54a31370e91e3361c216b"))) | |
| 1006 | + | (sha256 | |
| 1007 | + | (base32 | |
| 1008 | + | "1cpg9j86ckp5cmxlisfr4xr4i4v983xj2mkk0pkbygk3qarjfb88")))))) | |
| 1009 | + | ||
| 1010 | + | ||
| 997 | 1011 | (define-public java-byte-buddy-dep | |
| 998 | 1012 | (package | |
| 999 | 1013 | (name "java-byte-buddy-dep") | |
| 1000 | - | (version "1.7.9") | |
| 1014 | + | (version "1.9.5") | |
| 1001 | 1015 | (source (origin | |
| 1002 | 1016 | (method url-fetch) | |
| 1003 | 1017 | (uri (string-append "https://github.com/raphw/byte-buddy/archive/" | |
| 1004 | 1018 | "byte-buddy-" version ".tar.gz")) | |
| 1005 | 1019 | (sha256 | |
| 1006 | 1020 | (base32 | |
| 1007 | - | "1dyx3hp1fnw30ndk341bscr8x9sy75f8sfy4hrrwcwg4hrdg4i36")))) | |
| 1021 | + | "1ywnsp2qbs06sc830xli4fqv0rb2fi6w60bh3ly295h8bv2w9yws")))) | |
| 1008 | 1022 | (build-system ant-build-system) | |
| 1009 | 1023 | (arguments | |
| 1010 | 1024 | `(#:jar-name "byte-buddy-dep.jar" | |
… | |||
| 1018 | 1032 | (with-directory-excursion "byte-buddy-dep/src/main/java/net/bytebuddy" | |
| 1019 | 1033 | (substitute* (find-files "." ".*.java") | |
| 1020 | 1034 | (("@EqualsAndHashCode.*") "") | |
| 1021 | - | (("import lombok.EqualsAndHashCode;") "")) | |
| 1022 | - | (substitute* (find-files "." ".*.java") | |
| 1035 | + | (("import lombok.EqualsAndHashCode;") "") | |
| 1023 | 1036 | (("@SuppressFBWarnings.*") "") | |
| 1024 | 1037 | (("import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;") ""))) | |
| 1025 | 1038 | #t))))) | |
… | |||
| 3236 | 3249 | (copy-recursively "src/test/resources" "build/test-classes") | |
| 3237 | 3250 | #t))))) | |
| 3238 | 3251 | (inputs | |
| 3239 | - | `(("java-spring-framework-beans" ,java-spring-framework-beans) | |
| 3252 | + | `(;("java-netty" ,java-netty) | |
| 3253 | + | ("java-spring-framework-beans" ,java-spring-framework-beans) | |
| 3240 | 3254 | ("java-spring-framework-core" ,java-spring-framework-core) | |
| 3241 | 3255 | ("java-httpcomponents-httpasyncclient" ,java-httpcomponents-httpasyncclient) | |
| 3242 | 3256 | ("java-httpcomponents-httpclient" ,java-httpcomponents-httpclient) | |
… | |||
| 6258 | 6272 | (synopsis "") | |
| 6259 | 6273 | (description "") | |
| 6260 | 6274 | (license license:asl2.0))) | |
| 6275 | + | ||
| 6276 | + | (define-public java-jctools-core | |
| 6277 | + | (package | |
| 6278 | + | (name "java-jctools-core") | |
| 6279 | + | (version "2.1.2") | |
| 6280 | + | (source (origin | |
| 6281 | + | (method url-fetch) | |
| 6282 | + | (uri (string-append "https://github.com/JCTools/JCTools/archive/v" | |
| 6283 | + | version ".tar.gz")) | |
| 6284 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 6285 | + | (sha256 | |
| 6286 | + | (base32 | |
| 6287 | + | "16vqznf6ikzvii72r13h02vcbqfp5kl0fcw2cfhp52fzk3pmpsi2")))) | |
| 6288 | + | (build-system ant-build-system) | |
| 6289 | + | (arguments | |
| 6290 | + | `(#:jar-name "jctools-core.jar" | |
| 6291 | + | #:source-dir "jctools-core/src/main/java" | |
| 6292 | + | #:test-dir "jctools-core/src/test" | |
| 6293 | + | ;; Require com.google.common.collect.testing (guava?) | |
| 6294 | + | #:tests? #f)) | |
| 6295 | + | (native-inputs | |
| 6296 | + | `(("java-guava" ,java-guava) | |
| 6297 | + | ("java-hamcrest-core" ,java-hamcrest-core) | |
| 6298 | + | ("java-junit" ,java-junit))) | |
| 6299 | + | (home-page "https://jctools.github.io/JCTools") | |
| 6300 | + | (synopsis "") | |
| 6301 | + | (description "") | |
| 6302 | + | (license license:asl2.0))) | |
| 6303 | + | ||
| 6304 | + | (define-public java-log4j-api-for-netty | |
| 6305 | + | (package | |
| 6306 | + | (inherit java-log4j-api) | |
| 6307 | + | (version "2.6.2") | |
| 6308 | + | (source (origin | |
| 6309 | + | (method url-fetch) | |
| 6310 | + | (uri (string-append "mirror://apache/logging/log4j/" version | |
| 6311 | + | "/apache-log4j-" version "-src.tar.gz")) | |
| 6312 | + | (sha256 | |
| 6313 | + | (base32 | |
| 6314 | + | "1ri58x5l451ngz3p8shn4r7kb69vg0pkr9jb817952s9jbskwws9")))))) | |
| 6315 | + | ||
| 6316 | + | (define-public java-log4j-core-for-netty | |
| 6317 | + | (package | |
| 6318 | + | (inherit java-log4j-api-for-netty) | |
| 6319 | + | (name "java-log4j-core") | |
| 6320 | + | (inputs | |
| 6321 | + | `(("java-osgi-core" ,java-osgi-core) | |
| 6322 | + | ("java-hamcrest-core" ,java-hamcrest-core) | |
| 6323 | + | ("java-log4j-api" ,java-log4j-api-for-netty) | |
| 6324 | + | ("java-mail" ,java-mail) | |
| 6325 | + | ("java-jboss-jms-api-spec" ,java-jboss-jms-api-spec) | |
| 6326 | + | ("java-lmax-disruptor" ,java-lmax-disruptor) | |
| 6327 | + | ("java-kafka" ,java-kafka-clients) | |
| 6328 | + | ("java-datanucleus-javax-persistence" ,java-datanucleus-javax-persistence) | |
| 6329 | + | ("java-fasterxml-jackson-annotations" ,java-fasterxml-jackson-annotations) | |
| 6330 | + | ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core) | |
| 6331 | + | ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind) | |
| 6332 | + | ("java-fasterxml-jackson-dataformat-xml" ,java-fasterxml-jackson-dataformat-xml) | |
| 6333 | + | ("java-fasterxml-jackson-dataformat-yaml" ,java-fasterxml-jackson-dataformat-yaml) | |
| 6334 | + | ("java-commons-compress" ,java-commons-compress) | |
| 6335 | + | ("java-commons-csv" ,java-commons-csv) | |
| 6336 | + | ("java-stax2-api" ,java-stax2-api) | |
| 6337 | + | ("java-jeromq" ,java-jeromq))) | |
| 6338 | + | (native-inputs | |
| 6339 | + | `(("java-hamcrest-all" ,java-hamcrest-all) | |
| 6340 | + | ("java-commons-io" ,java-commons-io) | |
| 6341 | + | ("java-commons-lang3" ,java-commons-lang3) | |
| 6342 | + | ("java-junit" ,java-junit) | |
| 6343 | + | ("java-slf4j-api" ,java-slf4j-api))) | |
| 6344 | + | (arguments | |
| 6345 | + | `(#:tests? #f ; tests require more dependencies | |
| 6346 | + | #:test-dir "src/test" | |
| 6347 | + | #:source-dir "src/main/java" | |
| 6348 | + | #:jar-name "log4j-core.jar" | |
| 6349 | + | #:jdk ,icedtea-8 | |
| 6350 | + | #:make-flags | |
| 6351 | + | (list (string-append "-Ddist.dir=" (assoc-ref %outputs "out") | |
| 6352 | + | "/share/java")) | |
| 6353 | + | #:phases | |
| 6354 | + | (modify-phases %standard-phases | |
| 6355 | + | (add-after 'unpack 'enter-dir | |
| 6356 | + | (lambda _ (chdir "log4j-core") #t))))) | |
| 6357 | + | (synopsis "Core component of the Log4j framework") | |
| 6358 | + | (description "This package provides the core component of the Log4j | |
| 6359 | + | logging framework for Java."))) | |
| 6360 | + | ||
| 6361 | + | (define-public java-mockito | |
| 6362 | + | (package | |
| 6363 | + | (name "java-mockito") | |
| 6364 | + | (version "2.23.6") | |
| 6365 | + | (source (origin | |
| 6366 | + | (method url-fetch) | |
| 6367 | + | (uri (string-append "https://github.com/mockito/mockito/archive/v" | |
| 6368 | + | version ".tar.gz")) | |
| 6369 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 6370 | + | (sha256 | |
| 6371 | + | (base32 | |
| 6372 | + | "08vw3fqymgpjww06q4zvc6247dj2a7y3hgxsfghxny5lklh12qml")))) | |
| 6373 | + | (build-system ant-build-system) | |
| 6374 | + | (arguments | |
| 6375 | + | `(#:jar-name "mockito.jar" | |
| 6376 | + | #:source-dir "src/main/java" | |
| 6377 | + | #:phases | |
| 6378 | + | (modify-phases %standard-phases | |
| 6379 | + | (add-before 'build 'use-system-asm | |
| 6380 | + | (lambda _ | |
| 6381 | + | (substitute* "src/main/java/org/mockito/internal/creation/bytebuddy/InlineBytecodeGenerator.java" | |
| 6382 | + | (("net.bytebuddy.jar.asm") "org.objectweb.asm")) | |
| 6383 | + | #t))))) | |
| 6384 | + | (inputs | |
| 6385 | + | `(("java-asm" ,java-asm) | |
| 6386 | + | ("java-byte-buddy-dep" ,java-byte-buddy-dep) | |
| 6387 | + | ("java-hamcrest-core" ,java-hamcrest-core) | |
| 6388 | + | ("java-junit" ,java-junit) | |
| 6389 | + | ("java-objenesis" ,java-objenesis))) | |
| 6390 | + | (home-page "https://mockito.org/") | |
| 6391 | + | (synopsis "") | |
| 6392 | + | (description "") | |
| 6393 | + | (license license:asl2.0))) | |
| 6394 | + | ||
| 6395 | + | (define-public java-netty-common | |
| 6396 | + | (package | |
| 6397 | + | (name "java-netty-common") | |
| 6398 | + | (version "4.1.31") | |
| 6399 | + | (source (origin | |
| 6400 | + | (method url-fetch) | |
| 6401 | + | (uri (string-append "https://github.com/netty/netty/archive/netty-" | |
| 6402 | + | version ".Final.tar.gz")) | |
| 6403 | + | (sha256 | |
| 6404 | + | (base32 | |
| 6405 | + | "0dchrbwrhsxycs8kgwqcp81xybyx6p13k86d5pjsqni1hrc4sn2i")))) | |
| 6406 | + | (build-system ant-build-system) | |
| 6407 | + | (arguments | |
| 6408 | + | `(#:jar-name "netty-common.jar" | |
| 6409 | + | #:source-dir "common/src/main/java" | |
| 6410 | + | #:test-dir "common/src/test")) | |
| 6411 | + | (inputs | |
| 6412 | + | `(("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
| 6413 | + | ("java-jctools-core" ,java-jctools-core) | |
| 6414 | + | ("java-log4j-api" ,java-log4j-api-for-netty) | |
| 6415 | + | ("java-log4j-core" ,java-log4j-core-for-netty) | |
| 6416 | + | ("java-log4j-1.2-api" ,java-log4j-1.2-api) | |
| 6417 | + | ("java-slf4j-api" ,java-slf4j-api))) | |
| 6418 | + | (native-inputs | |
| 6419 | + | `(("java-hamcrest-all" ,java-hamcrest-all) | |
| 6420 | + | ("java-junit" ,java-junit) | |
| 6421 | + | ("java-mockito" ,java-mockito))) | |
| 6422 | + | (home-page "https://netty.io/") | |
| 6423 | + | (synopsis "") | |
| 6424 | + | (description "") | |
| 6425 | + | (license license:asl2.0))) | |