From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCZEW-0005RZ-A7 for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCZEV-0007mu-Ba for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCZEV-0007mg-6W for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCZEU-0001vS-Ux for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:06 -0500 Subject: [bug#29221] [PATCH 10/19] gnu: Add java-kafka-clients. Resent-Message-ID: From: julien@lepiller.eu Date: Wed, 8 Nov 2017 23:51:31 +0100 Message-Id: <20171108225140.6587-10-julien@lepiller.eu> In-Reply-To: <20171108225140.6587-1-julien@lepiller.eu> References: <20171108231537.34a601cc@lepiller.eu> <20171108225140.6587-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29221@debbugs.gnu.org From: Julien Lepiller * 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 0766e1f63..453ca1620 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7174,3 +7174,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: +@itemize +@item it can publish and subscribe to streams of records; +@item it can store streams of records in a fault-tolerant way; +@item it can process streams of records as they occur. +@end itemize") + ;; Either cddl or gpl2 only. + (license (list license:cddl1.1; actually cddl1.1 + license:gpl2)))); with classpath exception -- 2.15.0