GNU bug report logs - #31423
[PATCH 6/6] gnu: Add ghc-bytes.

Previous Next

Package: guix-patches;

Reported by: Tonton <tonton <at> riseup.net>

Date: Fri, 11 May 2018 20:35:07 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31423 in the body.
You can then email your comments to 31423 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#31423; Package guix-patches. (Fri, 11 May 2018 20:35:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tonton <tonton <at> riseup.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 11 May 2018 20:35:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tonton <tonton <at> riseup.net>
To: 31418 <at> debbugs.gnu.org,
	guix-patches <at> gnu.org
Cc: Tonton <tonton <at> riseup.net>
Subject: [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





Information forwarded to guix-patches <at> gnu.org:
bug#31423; Package guix-patches. (Thu, 17 May 2018 19:36:01 GMT) Full text and rfc822 format available.

Message #8 received at 31423 <at> debbugs.gnu.org (full text, mbox):

From: Tonton <tonton <at> riseup.net>
To: 31423 <at> debbugs.gnu.org
Cc: Tonton <tonton <at> riseup.net>
Subject: [PATCH 2/2] gnu: Add ghc-bytes.
Date: Thu, 17 May 2018 21:34:37 +0200
* gnu/packages/haskell.scm (ghc-bytes): New variable.
---
 gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 874a9202a..36c3eaab7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9483,4 +9483,36 @@ address string against RFC 5322.")
     (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 "/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 "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





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 20 May 2018 20:59:01 GMT) Full text and rfc822 format available.

Notification sent to Tonton <tonton <at> riseup.net>:
bug acknowledged by developer. (Sun, 20 May 2018 20:59:01 GMT) Full text and rfc822 format available.

Message #13 received at 31423-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Tonton <tonton <at> riseup.net>
Cc: 31423-done <at> debbugs.gnu.org
Subject: Re: [bug#31423] [PATCH 2/2] gnu: Add ghc-bytes.
Date: Sun, 20 May 2018 22:58:42 +0200
[Message part 1 (text/plain, inline)]
Tonton <tonton <at> riseup.net> skribis:

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

Applied with the changes below.  We're done, thanks!

Ludo'.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 36c3eaab7..c8fade065 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9509,9 +9509,10 @@ address string against RFC 5322.")
              ("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")
+   (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)))
 

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Jun 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.