[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/20: gnu: Add java-kafka-clients.
From: |
julien lepiller |
Subject: |
11/20: gnu: Add java-kafka-clients. |
Date: |
Sat, 18 Nov 2017 05:32:58 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 46c6905a224fb98e05b8d98cc280297a450e5c08
Author: Julien Lepiller <address@hidden>
Date: Sun Nov 5 13:51:55 2017 +0100
gnu: Add java-kafka-clients.
* gnu/packages/java.scm (java-kafka-clients): New variable.
---
gnu/packages/java.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 36c6029..51bb271 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7108,3 +7108,60 @@ protocol-independent framework to build mail and
messaging applications.")
(synopsis "Java binding for 0MQ")
(description "Jeromq provides the java bindings for 0MQ.")
(license license:mpl2.0)))
+
+(define-public java-kafka-clients
+ (package
+ (name "java-kafka-clients")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/kafka/" version "/kafka-"
+ version "-src.tgz"))
+ (sha256
+ (base32
+ "1yxmnsmliwm7671q5yy9bl4jdqyyn00n26cggz9brwczx80w1vfq"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "java-kafka-clients.jar"
+ #:jdk ,icedtea-8
+ #:source-dir "clients/src/main/java"
+ #:test-dir "clients/src/test"
+ #:test-exclude
+ (list
+ ;; This file does not contain a class
+ "**/IntegrationTest.java"
+ ;; Requires network
+ "**/ClientUtilsTest.java"
+ ;; End with errors that seem related to our powermock
+ "**/KafkaProducerTest.java"
+ "**/BufferPoolTest.java")))
+ (inputs
+ `(("java-slf4j-api" ,java-slf4j-api)
+ ("java-lz4" ,java-lz4)))
+ (native-inputs
+ `(("junit" ,java-junit)
+ ("hamcrest" ,java-hamcrest-all)
+ ("objenesis" ,java-objenesis)
+ ("asm" ,java-asm)
+ ("cglib" ,java-cglib)
+ ("javassist" ,java-jboss-javassist)
+ ("snappy" ,java-snappy)
+ ("easymock" ,java-easymock)
+ ("powermock" ,java-powermock-core)
+ ("powermock-easymock" ,java-powermock-api-easymock)
+ ("powermock-junit4-common" ,java-powermock-modules-junit4-common)
+ ("powermock-junit4" ,java-powermock-modules-junit4)
+ ("powermock-support" ,java-powermock-api-support)
+ ("bouncycastle" ,java-bouncycastle-bcprov)
+ ("bouncycastle-bcpkix" ,java-bouncycastle-bcpkix)))
+ (home-page "https://kafka.apache.org")
+ (synopsis "Distributed streaming platform")
+ (description "Kafka is a distributed streaming platform, which means:
address@hidden
address@hidden it can publish and subscribe to streams of records;
address@hidden it can store streams of records in a fault-tolerant way;
address@hidden it can process streams of records as they occur.
address@hidden itemize")
+ ;; Either cddl or gpl2 only.
+ (license (list license:cddl1.1; actually cddl1.1
+ license:gpl2)))); with classpath exception
- branch master updated (82af2c2 -> a083729), julien lepiller, 2017/11/18
- 05/20: gnu: Add java-jboss-jms-api-spec., julien lepiller, 2017/11/18
- 01/20: gnu: Add bitshuffle., julien lepiller, 2017/11/18
- 03/20: gnu: Add java-iq80-snappy., julien lepiller, 2017/11/18
- 02/20: gnu: Add java-snappy., julien lepiller, 2017/11/18
- 09/20: gnu: Add java-commons-collections., julien lepiller, 2017/11/18
- 11/20: gnu: Add java-kafka-clients.,
julien lepiller <=
- 17/20: gnu: Add java-plexus-container-default-bootstrap., julien lepiller, 2017/11/18
- 06/20: gnu: Add java-mail., julien lepiller, 2017/11/18
- 04/20: licenses: Add cddl1.1., julien lepiller, 2017/11/18
- 08/20: gnu: Add java-commons-csv., julien lepiller, 2017/11/18
- 13/20: gnu: Add java-log4j-1.2-api., julien lepiller, 2017/11/18
- 14/20: gnu: Add java-jdom., julien lepiller, 2017/11/18
- 12/20: gnu: Add java-log4j-core., julien lepiller, 2017/11/18
- 20/20: gnu: Add java-plexus-container-default., julien lepiller, 2017/11/18
- 07/20: gnu: Add java-jeromq., julien lepiller, 2017/11/18
- 18/20: gnu: Add java-plexus-io., julien lepiller, 2017/11/18