guix-commits
[Top][All Lists]
Advanced

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

68/151: gnu: Add ghc-http-types.


From: Paul
Subject: 68/151: gnu: Add ghc-http-types.
Date: Mon, 19 Oct 2015 08:58:01 +0000

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

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

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d51ac21..4ea5c99 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1045,6 +1045,43 @@ package.  This package re-exports the unix package when 
available.  When it
 isn't available, portable implementations are used.")
     (license bsd-3)))
 
+(define-public ghc-http-types
+  (package
+    (name "ghc-http-types")
+    (version "0.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/http-types/http-types-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0ny15jgm5skhs2yx6snr13lrnw19hwjgfygrpsmhib8wqa8cz8cc"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: Tests cannot find
+                               ; Blaze.Bytestring.Builder, which should be
+                               ; provided by ghc-blaze-builder.
+    (propagated-inputs
+     `(("ghc-case-insensitive" ,ghc-case-insensitive)
+       ("ghc-blaze-builder" ,ghc-blaze-builder)))
+    (inputs
+     `(("ghc-text" ,ghc-text)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-quickcheck-instances"
+        ,ghc-quickcheck-instances)
+       ("ghc-hspec" ,ghc-hspec)
+       ("ghc-doctest" ,ghc-doctest)))
+    (home-page
+     "https://github.com/aristidb/http-types";)
+    (synopsis
+     "Generic HTTP types for Haskell")
+    (description
+     "This package provides generic HTTP types for Haskell (for both client
+and server code).")
+    (license bsd-3)))
+
 (define-public ghc-iproute
   (package
     (name "ghc-iproute")



reply via email to

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