guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/17: gnu: Add ghc-bower-json.


From: guix-commits
Subject: 11/17: gnu: Add ghc-bower-json.
Date: Fri, 8 May 2020 05:09:14 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 03d4ea83bfe6d38622ecaba6c6c56da1c2d211b1
Author: John Soo <address@hidden>
AuthorDate: Fri Dec 13 07:44:47 2019 -0800

    gnu: Add ghc-bower-json.
    
    * gnu/packages/haskell-web.scm (ghc-bower-json): New variable.
    
    Signed-off-by: Christopher Baines <address@hidden>
---
 gnu/packages/haskell-web.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 314e5b1..aae1209 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1840,3 +1840,34 @@ proposed by Google and Mozilla here
      "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
+     "This package provides a data type and ToJSON/FromJSON instances for
+Bower's package manifest file, bower.json.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]