guix-commits
[Top][All Lists]
Advanced

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

99/151: gnu: Add ghc-distributive.


From: Paul
Subject: 99/151: gnu: Add ghc-distributive.
Date: Mon, 19 Oct 2015 08:58:25 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit ac8396ef8416fbd48a2573608afb323465958a23
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:34:48 2015 +0200

    gnu: Add ghc-distributive.
    
    * gnu/packages/haskell.scm (ghc-distributive): New variable.
---
 gnu/packages/haskell.scm |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0d2ed2b..e87320e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1257,6 +1257,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")



reply via email to

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