Patchwork [11/42] gnu: Add ghc-sandi.

login
register
mail settings
Submitter non such
Date Sept. 18, 2016, 4:09 p.m.
Message ID <20160918161022.26135-11-ng0@we.make.ritual.n0.is>
Download mbox | patch
Permalink /patch/15717/
State New
Headers show

Comments

non such - Sept. 18, 2016, 4:09 p.m.
* gnu/packages/haskell.scm (ghc-sandi): New variable.
---
 gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0889804..6605391 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6661,4 +6661,32 @@  this problem.")
      "Generate tasty TestTrees automatically with TemplateHaskell.")
     (license license:bsd-3)))
 
+(define-public ghc-sandi
+  (package
+    (name "ghc-sandi")
+    (version "0.4.0") ; darcs-2.12.4 needs == 0.4.*
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/sandi/sandi-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1smf3bq44qni4zbgxpw7cy7b9g95fbrr73j8njjf6139naj9bj20"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-stringsearch" ,ghc-stringsearch)
+       ("ghc-conduit" ,ghc-conduit)
+       ("ghc-exceptions" ,ghc-exceptions)
+       ("ghc-hunit" ,ghc-hunit)
+       ("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+       ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+       ("ghc-tasty-th" ,ghc-tasty-th)))
+    (home-page "http://hackage.haskell.org/package/sandi")
+    (synopsis "Data encoding library")
+    (description "Reasonably fast data encoding library.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here