From 64a8861065e0a59f3ed48d5e57922f451b621b2e Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:01:05 -0800 Subject: [PATCH 15/34] gnu: Add ghc-lens-aeson. * gnu/packages/haskell-xyz.scm (ghc-lens-aeson): 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 2ff6df66ae..54efa8b4dd 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -6669,6 +6669,43 @@ of getters, folds, isomorphisms, traversals, setters and lenses and their indexed variants.") (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) + ("ghc-cabal-doctest" ,ghc-cabal-doctest))) + (arguments + `(#:cabal-revision + ("6" + "1pg5v8fnlqw1krgi3d2a03a0zkjjdv5yp5f5z6q4mlb5jldz99a8"))) + (home-page "https://github.com/lens/lens-aeson/") + (synopsis "Law-abiding lenses for aeson") + (description "Law-abiding lenses for aeson.") + (license license:expat))) + (define-public ghc-libffi (package (name "ghc-libffi") -- 2.25.0