From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:52493) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaehy-0008Dt-AN for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaehu-00027H-2p for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53661) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaeht-00026i-V3 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaeht-0006U1-Tb for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:05 -0500 Subject: [bug#38423] [PATCH 31/49] gnu: Add ghc-binary-parser. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:33 +0100 Message-Id: <20191129113751.82405-31-rob@vllmrt.net> In-Reply-To: <20191129113751.82405-1-rob@vllmrt.net> References: <20191129113751.82405-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 38423@debbugs.gnu.org Cc: Robert Vollmert * gnu/packages/haskell-xyz.scm (ghc-binary-parser): New variable. --- gnu/packages/haskell-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index c38aa5f62e..26e5b2644d 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13868,3 +13868,40 @@ This library provides placeholders that produce better messages when evaluated at run-time and also generate compile-time warnings so that they do not get forgotten so easily.") (license license:bsd-3))) + +(define-public ghc-binary-parser + (package + (name "ghc-binary-parser") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/binary-parser/binary-parser-" + version + ".tar.gz")) + (sha256 + (base32 + "1cs3zrhgnng2h84xnnvqcy6yrdm0xay1494dsa612y590s773aqx")))) + (build-system haskell-build-system) + (inputs + `(("ghc-base-prelude" ,ghc-base-prelude))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-quickcheck-instances" + ,ghc-quickcheck-instances) + ("ghc-rerebase" ,ghc-rerebase))) + (arguments + `(#:tests? ; rely on outdated test library versions + #f ; https://github.com/nikita-volkov/binary-parser/pull/3 + #:cabal-revision + ("3" + "14n41yazmks2qw0v4krxcqw3ac0wdy2z53d0qz0rdjcd94fpghjf"))) + (home-page + "https://github.com/nikita-volkov/binary-parser") + (synopsis + "A highly-efficient but limited parser API specialised for bytestrings") + (description "") + (license license:expat))) -- 2.21.0 (Apple Git-122.2)