gnu: Add java-jeromq.

* gnu/packages/java.scm (java-jeromq): New variable.
This commit is contained in:
Julien Lepiller 2017-11-05 13:16:07 +01:00
parent 3ff47c6665
commit 217b20e4db
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 35 additions and 0 deletions

View File

@ -6960,3 +6960,38 @@ protocol-independent framework to build mail and messaging applications.")
;; and Distribution License("CDDL")
(license (list license:cddl1.1
license:gpl2)))); with classpath exception
(define-public java-jeromq
(package
(name "java-jeromq")
(version "0.4.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/zeromq/jeromq/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"17wx8dlyqmbw77xf6d6wxnhiyky6181zpf1a48jqzz9hidz0j841"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "java-jeromq.jar"
#:source-dir "src/main/java"
#:jdk ,icedtea-8
#:test-exclude
(list
"**/Abstract*.java"
;; Requires network
"**/ZBeaconTest.java"
;; Failures
"**/CustomDecoderTest.java"
"**/CustomEncoderTest.java")))
(inputs
`(("java-jnacl" ,java-jnacl)))
(native-inputs
`(("java-hamcrest-core" ,java-hamcrest-core)
("junit" ,java-junit)))
(home-page "http://zeromq.org/bindings:java")
(synopsis "Java binding for 0MQ")
(description "Jeromq provides the java bindings for 0MQ.")
(license license:mpl2.0)))