From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44131) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaedF-0004t2-50 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaedC-0003nv-QB for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaedC-0003ly-8r for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaedC-0006KB-73 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:14 -0500 Subject: [bug#38423] [PATCH 45/49] gnu: Add ghc-cassava. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:47 +0100 Message-Id: <20191129113751.82405-45-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-cassava): New variable. --- gnu/packages/haskell-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index ac3fecc382..fd8929dd7b 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -14300,3 +14300,43 @@ of and Its aim is primarily to allow updating programs that depend on configurator-ng to new versions of GHC without changing the configuration file format.") (license license:bsd-3))) + +(define-public ghc-cassava + (package + (name "ghc-cassava") + (version "0.5.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cassava/cassava-" + version + ".tar.gz")) + (sha256 + (base32 + "0xs2c5lpy0g5lsmp2cx0dm5lnxij7cgry6xd5gsn3bfdlap8lb3n")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-hashable" ,ghc-hashable) + ("ghc-scientific" ,ghc-scientific) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-only" ,ghc-only) + ("ghc-text-short" ,ghc-text-short) + ("ghc-bytestring-builder" + ,ghc-bytestring-builder))) + (arguments + `(#:tests? ; require outdated quickcheck version + #f + #:cabal-revision + ("2" + "13mbhan3agzf8ki8hcac1xf50h9nbzx2b47zjqrch2050v6xa351"))) + (home-page "https://github.com/hvr/cassava") + (synopsis "A CSV parsing and encoding library") + (description + "cassava is a library for parsing and encoding [RFC 4180](https://tools.ietf.org/html/rfc4180) +compliant [comma-separated values (CSV)](https://en.wikipedia.org/wiki/Comma-separated_values) data, +which is a textual line-oriented format commonly used for exchanging tabular data.") + (license license:bsd-3))) -- 2.21.0 (Apple Git-122.2)