guix-patches
[Top][All Lists]
Advanced

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

[bug#32908] [PATCH 06/24] gnu: Add ghc-cereal-conduit.


From: Ricardo Wurmus
Subject: [bug#32908] [PATCH 06/24] gnu: Add ghc-cereal-conduit.
Date: Tue, 2 Oct 2018 18:32:38 +0200

* gnu/packages/haskell.scm (ghc-cereal-conduit): New variable.
---
 gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c1815c60d..a8d22a682 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -10726,6 +10726,33 @@ will destroy the permissions on the original file.  
This library preserves
 permissions while atomically writing to a file.")
     (license license:expat)))
 
+(define-public ghc-cereal-conduit
+  (package
+    (name "ghc-cereal-conduit")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "cereal-conduit/cereal-conduit-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-conduit" ,ghc-conduit)
+       ("ghc-resourcet" ,ghc-resourcet)
+       ("ghc-cereal" ,ghc-cereal)))
+    (native-inputs
+     `(("ghc-hunit" ,ghc-hunit)))
+    (home-page "https://github.com/snoyberg/conduit";)
+    (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and 
Conduits")
+    (description
+     "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
address@hidden, @code{Sinks}, and @code{Conduits}.")
+    (license license:bsd-3)))
+
 (define-public ghc-weigh
   (package
     (name "ghc-weigh")
-- 
2.19.0






reply via email to

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