From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNjMo-0005HX-RW for guix-patches@gnu.org; Tue, 29 May 2018 14:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNjMk-0001Me-NA for guix-patches@gnu.org; Tue, 29 May 2018 14:29:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46420) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNjMk-0001MS-Hw for guix-patches@gnu.org; Tue, 29 May 2018 14:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNjMk-0005pH-8g for guix-patches@gnu.org; Tue, 29 May 2018 14:29:02 -0400 Subject: [bug#31582] [PATCH v2 1/8] gnu: Add ghc-bloomfilter. Resent-Message-ID: From: Timothy Sample In-Reply-To: <87muwi8qa4.fsf@ngyro.com> Date: Mon, 19 Feb 2018 12:58:48 -0500 References: <87muwi8qa4.fsf@ngyro.com> Message-ID: <87d0xe2u6m.fsf@ngyro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 31582@debbugs.gnu.org * gnu/package/haskell.scm (ghc-bloomfilter): New variable. --- gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index c8fade065..ece879778 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2017 rsiddharth ;;; Copyright =C2=A9 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Tonton +;;; Copyright =C2=A9 2018 Timothy Sample ;;; ;;; This file is part of GNU Guix. ;;; @@ -3573,6 +3574,31 @@ vector types are supported. Specific instances are = provided for unboxed, boxed and storable vectors.") (license license:bsd-3))) =20 +(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") --=20 2.17.0