* gnu/packages/haskell.scm (ghc-distributive): New variable.
---
gnu/packages/haskell.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 09315ff..b21a366 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1253,6 +1253,36 @@ efficiently with network protocols and complicated
text/binary file formats.")
modifying, and extracting files from zip archives.")
(license bsd-3)))
+(define-public ghc-distributive
+ (package
+ (name "ghc-distributive")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/distributive/distributive-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0s2ln9jv7bh4ri2y31178pvjl8x6nik5d0klx7j2b77yjlsgblc2"))))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f)) ;; FIXME: fails with "cannot satisfy -package
+ ;; tagged-0.8.1". Suspected Cabal issue.
+ (propagated-inputs
+ `(("ghc-tagged" ,ghc-tagged)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)))
+ (inputs
+ `(("ghc-doctest" ,ghc-doctest)))
+ (home-page
+ "http://github.com/ekmett/distributive/")
+ (synopsis
+ "Distributive functors")
+ (description
+ "Distributive functors for Haskell. Dual to Traversable.")
+ (license bsd-3)))
+
(define-public ghc-cereal
(package
(name "ghc-cereal")
--
2.6.1