From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43985) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaedB-0004pE-EP for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaed8-0003d4-1h for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:12 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53612) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaed6-0003ZJ-FW for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaed5-0006IF-Cr for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:07 -0500 Subject: [bug#38423] [PATCH 29/49] gnu: Add ghc-lens-aeson. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:31 +0100 Message-Id: <20191129113751.82405-29-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-lens-aeson): New variable. --- gnu/packages/haskell-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 28179eba97..5cba944601 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13803,3 +13803,41 @@ hints for type inference.") "concise provides a handful of functions to extend what you can do with Control.Lens.Cons.") (license license:bsd-3))) + +(define-public ghc-lens-aeson + (package + (name "ghc-lens-aeson") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/lens-aeson/lens-aeson-" + version + ".tar.gz")) + (sha256 + (base32 + "1k028ycmhz7mnjlrap88fqix4nmmpyy6b88m16kv77d3r8sz04a3")))) + (build-system haskell-build-system) + (inputs + `(("ghc-lens" ,ghc-lens) + ("ghc-vector" ,ghc-vector) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-aeson" ,ghc-aeson) + ("ghc-scientific" ,ghc-scientific))) + (native-inputs + `(("ghc-doctest" ,ghc-doctest) + ("ghc-generic-deriving" ,ghc-generic-deriving) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-simple-reflect" ,ghc-simple-reflect) + ("cabal-doctest" ,cabal-doctest))) + (arguments + `(#:cabal-revision + ("6" + "1pg5v8fnlqw1krgi3d2a03a0zkjjdv5yp5f5z6q4mlb5jldz99a8"))) + (home-page "http://github.com/lens/lens-aeson/") + (synopsis "Law-abiding lenses for aeson") + (description "Law-abiding lenses for aeson") + (license license:expat))) -- 2.21.0 (Apple Git-122.2)