From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNVwX-0006b9-BB for guix-patches@gnu.org; Tue, 29 May 2018 00:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNVwU-0001xY-51 for guix-patches@gnu.org; Tue, 29 May 2018 00:09:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNVwU-0001xR-1n for guix-patches@gnu.org; Tue, 29 May 2018 00:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNVwT-0000PN-NX for guix-patches@gnu.org; Tue, 29 May 2018 00:09:01 -0400 Subject: [bug#31582] [PATCH 1/8] gnu: Add ghc-bloomfilter. Resent-Message-ID: References: <878t88vp2n.fsf@ngyro.com> <874liwuaa8.fsf@mrblack.i-did-not-set--mail-host-address--so-tickle-me> From: Christopher Lemmer Webber In-reply-to: <874liwuaa8.fsf@mrblack.i-did-not-set--mail-host-address--so-tickle-me> Date: Mon, 28 May 2018 23:08:01 -0500 Message-ID: <871sdvt87y.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain 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: Timothy Sample Cc: 31582@debbugs.gnu.org LGTM. Timothy Sample writes: > * gnu/package/haskell.scm (ghc-bloomfilter): New variable. > --- > gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index c8fade065..ccb3adf15 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -3573,6 +3573,31 @@ vector types are supported. Specific instances are provided for unboxed, > boxed and storable vectors.") > (license license:bsd-3))) > > +(define-public ghc-bloomfilter > + (package > + (name "ghc-bloomfilter") > + (version "2.0.1.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://hackage.haskell.org/package/" > + "bloomfilter/bloomfilter-" version ".tar.gz")) > + (sha256 > + (base32 > + "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc")))) > + (build-system haskell-build-system) > + (native-inputs > + `(("ghc-quickcheck" ,ghc-quickcheck) > + ("ghc-random" ,ghc-random) > + ("ghc-test-framework" ,ghc-test-framework) > + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) > + (home-page "https://github.com/bos/bloomfilter") > + (synopsis "Pure and impure Bloom filter implementations") > + (description "This package provides both mutable and immutable Bloom > +filter data types, along with a family of hash functions and an easy-to-use > +interface.") > + (license license:bsd-3))) > + > (define-public ghc-network > (package > (name "ghc-network")