gnu: Add ghc-bytes.

* gnu/packages/haskell.scm (ghc-bytes): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Tonton 2018-05-17 21:34:37 +02:00 committed by Ludovic Courtès
parent 6c4ae17334
commit dea5c0b8d0
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 33 additions and 0 deletions

View File

@ -9483,4 +9483,37 @@ address string against RFC 5322.")
(inputs `(("ghc-unordered-containers" ,ghc-unordered-containers) (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
,@(package-inputs ghc-semigroupoids))))) ,@(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 "/bytes-"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
(build-system haskell-build-system)
(inputs `(("ghc-cereal" ,ghc-cereal)
("cabal-doctest" ,cabal-doctest)
("ghc-doctest" ,ghc-doctest-0.13)
("ghc-mtl" ,ghc-mtl)
("ghc-scientific" ,ghc-scientific)
("ghc-text" ,ghc-text)
("ghc-transformers-compat" ,ghc-transformers-compat)
("ghc-unordered-containers" ,ghc-unordered-containers)
("ghc-void" ,ghc-void)
("ghc-vector" ,ghc-vector)))
(synopsis "Serialization between @code{binary} and @code{cereal}")
(description "This package provides a simple compatibility shim that lets
you work with both @code{binary} and @code{cereal} with one chunk of
serialization code.")
(home-page "https://hackage.haskell.org/package/bytes")
(license license:bsd-3)))
;;; haskell.scm ends here ;;; haskell.scm ends here