guix-patches
[Top][All Lists]
Advanced

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

[bug#38423] [PATCH 22/49] gnu: Add ghc-data-serializer.


From: Robert Vollmert
Subject: [bug#38423] [PATCH 22/49] gnu: Add ghc-data-serializer.
Date: Fri, 29 Nov 2019 12:37:24 +0100

* gnu/packages/haskell-xyz.scm (ghc-data-serializer): New variable.
---
 gnu/packages/haskell-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 5f90fc1551..766eb129bb 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13625,3 +13625,35 @@ fixed-length binary word data types.  Signed and 
unsigned
     (description
      "This package provides helpers for converting endian-sensitive data.")
     (license license:bsd-3)))
+
+(define-public ghc-data-serializer
+  (package
+    (name "ghc-data-serializer")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             
"https://hackage.haskell.org/package/data-serializer/data-serializer-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1ijy8l5lxmm8wpzx4h2vh9q21zz66xgh979s32aa4b16l9m1b4z7"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-semigroups" ,ghc-semigroups)
+       ("ghc-cereal" ,ghc-cereal)
+       ("ghc-data-endian" ,ghc-data-endian)
+       ("ghc-parsers" ,ghc-parsers)
+       ("ghc-split" ,ghc-split)))
+    (native-inputs
+     `(("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+    (home-page
+     "https://github.com/mvv/data-serializer";)
+    (synopsis
+     "Common API for serialization libraries")
+    (description
+     "This package provides a common API for serialization libraries like 
<http://hackage.haskell.org/package/binary binary> and 
<http://hackage.haskell.org/package/cereal cereal>.")
+    (license license:bsd-3)))
-- 
2.21.0 (Apple Git-122.2)






reply via email to

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