[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31418] [PATCH 6/6] gnu: Add ghc-bytes.
From: |
Tonton |
Subject: |
[bug#31418] [PATCH 6/6] gnu: Add ghc-bytes. |
Date: |
Fri, 11 May 2018 22:34:08 +0200 |
* gnu/packages/haskell.scm (ghc-bytes): New variable.
---
gnu/packages/haskell.scm | 44 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2429fdbe5..94a81b2fd 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9570,4 +9570,48 @@ scenarios.")
(inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
,@(package-inputs ghc-semigroupoids)))))
+(define-public ghc-bytes
+ (package
+ (name "ghc-bytes")
+ (version "0.15.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://hackage.haskell.org/package/bytes-"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-binary" ,ghc-binary)
+ ("ghc-bytestring" ,ghc-bytestring-builder)
+ ("ghc-transformers" ,ghc-transformers-base)
+ ("ghc-cereal" ,ghc-cereal)
+ ("ghc-containers" ,ghc-containers)
+ ("cabal-doctest" ,cabal-doctest)
+ ("ghc-doctest" ,ghc-doctest-0.13)
+ ("ghc-ghc-prim" ,ghc-primitive)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-lens" ,ghc-lens)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-reflection" ,ghc-reflection)
+ ("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-semigroupoids" ,ghc-semigroupoids-5.2.2)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-simple-reflect" ,ghc-simple-reflect)
+ ("ghc-text" ,ghc-text)
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+ ("ghc-time" ,ghc-time-locale-compat)
+ ("ghc-tagged" ,ghc-tagged)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-void" ,ghc-void)
+ ("ghc-vector" ,ghc-vector)))
+ (synopsis "Haskell bytes: serialization between binary and cereal")
+ (description "Haskell module to share code for serialization between
+binary and cereal")
+ (home-page "https://hackage.haskell.org/package/bytes")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.17.0