From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQuzu-0006FM-KB for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQuzq-0001Xj-QW for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42909) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQuzq-0001Xb-Me for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dQuzq-0007gn-H5 for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:02 -0400 Subject: [bug#27537] [PATCH 2/6] gnu: Add java-javaewah. Resent-Message-ID: From: Ricardo Wurmus Date: Fri, 30 Jun 2017 14:25:19 +0200 Message-Id: <20170630122523.30510-2-rekado@elephly.net> In-Reply-To: <20170630122523.30510-1-rekado@elephly.net> References: <20170630122523.30510-1-rekado@elephly.net> 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: 27537@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/java.scm (java-javaewah): New variable. --- gnu/packages/java.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 572a22767..d8f5eacc1 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -4121,6 +4121,36 @@ for your architecture which is provided by the jsvc package. This is a part of the Apache Commons Project.") (license license:asl2.0))) +(define-public java-javaewah + (package + (name "java-javaewah") + (version "1.1.6") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/lemire/javaewah/" + "archive/JavaEWAH-" version ".tar.gz")) + (sha256 + (base32 + "1n7j1r1h24wlhwv9zdcj6yqjrhma2ixwyzm15l5vrv6yqjs6753b")))) + (build-system ant-build-system) + (arguments `(#:jar-name "javaewah.jar")) + (inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core))) + (home-page "https://github.com/lemire/javaewah") + (synopsis "Compressed alternative to the Java @code{BitSet} class") + (description "This is a word-aligned compressed variant of the Java +@code{Bitset} class. It provides both a 64-bit and a 32-bit RLE-like +compression scheme. It can be used to implement bitmap indexes. + +The goal of word-aligned compression is not to achieve the best compression, +but rather to improve query processing time. Hence, JavaEWAH tries to save CPU +cycles, maybe at the expense of storage. However, the EWAH scheme is always +more efficient storage-wise than an uncompressed bitmap (as implemented in the +@code{BitSet} class by Sun).") + ;; GPL2.0 derivates are explicitly allowed. + (license license:asl2.0))) + (define-public antlr2 (package (name "antlr2") -- 2.12.2