From 5039c80969c4e848be0852a3356f6a10160aca6a Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 07:44:47 -0800 Subject: [PATCH 11/22] gnu: Add ghc-bower-json. * gnu/packages/haskell-web.scm (ghc-bower-json): New variable. --- gnu/packages/haskell-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 55351c4332..cf6e7f4051 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1743,3 +1743,35 @@ https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/ "Parses Javascript into an Abstract Syntax Tree (AST). Initially intended as frontend to hjsmin.") (license license:bsd-3))) + +(define-public ghc-bower-json + (package + (name "ghc-bower-json") + (version "1.0.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/bower-json/bower-json-" + version + ".tar.gz")) + (sha256 + (base32 + "0wvygg3rdbxzrmr61a9w6ddv9pfric85ih8hnxyk0ydzn7i59abs")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-aeson-better-errors" ,ghc-aeson-better-errors) + ("ghc-scientific" ,ghc-scientific) + ("ghc-transformers" ,ghc-transformers) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "https://github.com/hdgarrood/bower-json") + (synopsis "Read bower.json from Haskell") + (description + "Bower is a package manager for the web (see http://bower.io). This +package provides a data type and ToJSON/FromJSON instances for Bower's package +manifest file,bower.json.") + (license license:expat))) -- 2.24.0