guix-commits
[Top][All Lists]
Advanced

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

74/154: gnu: Add ghc-contravariant.


From: Paul
Subject: 74/154: gnu: Add ghc-contravariant.
Date: Thu, 22 Oct 2015 20:23:02 +0000

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

commit ce7ef448764079d5289b05aee7c03a2f91139790
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 14:36:19 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0b80b3b..d606d48 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2479,6 +2479,33 @@ in the @code{IO} monad, like @code{IORef}s or parts of 
the OpenGL state.")
     (description "This package provides bifunctors for Haskell.")
     (license bsd-3)))
 
+(define-public ghc-contravariant
+  (package
+    (name "ghc-contravariant")
+    (version "1.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/contravariant/contravariant-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "184hcmhsznqrkmqlc1kza9pb5p591anva574ry8wrh81vqmhwfb5"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-void" ,ghc-void)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)
+       ("ghc-statevar" ,ghc-statevar)))
+    (inputs
+     `(("ghc-semigroups" ,ghc-semigroups)))
+    (home-page
+     "http://github.com/ekmett/contravariant/";)
+    (synopsis "Contravariant functors")
+    (description "Contravariant functors for Haskell.")
+    (license bsd-3)))
+
 (define-public ghc-semigroups
   (package
     (name "ghc-semigroups")



reply via email to

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