* [bug#31420] [PATCH 3/6] gnu: Add ghc-containers.
2018-05-11 20:34 [bug#31419] [PATCH 2/6] gnu: Add ghc-array Tonton
@ 2018-05-11 20:34 ` Tonton
2018-05-11 20:34 ` [bug#31421] [PATCH 4/6] gnu: Add ghc-binary Tonton
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Tonton @ 2018-05-11 20:34 UTC (permalink / raw)
To: 31418, 31420; +Cc: Tonton
* gnu/packages/haskell.scm (ghc-containers): New variable.
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 67faeb852..dd9d2f15d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9490,4 +9490,35 @@ within appropriate monads, as well as some instances of these classes.")
(home-page "https://hackage.haskell.org/package/array")
(license license:bsd-3)))
+(define-public ghc-containers
+ (package
+ (name "ghc-containers")
+ (version "0.5.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://hackage.haskell.org/package/containers-0.5.11.0/containers-"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0j29w09kvcn1c0yi4clmrdbgs2gqmpxs2m7q80ib2ix1smm25kaq"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-array" ,ghc-array)
+ ("ghc-deepseq" ,ghc-deepseq-generics)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-chasingbottoms" ,ghc-chasingbottoms)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-ghc-prim" ,ghc-primitive)))
+ (synopsis "Haskell containers: Assorted concrete container types")
+ (description "Haskell module providing efficient general-purpose
+implementations of various immutable container types including sets,
+maps, sequences, trees, and graphs.")
+ (home-page "https://hackage.haskell.org/package/containers")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.17.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#31421] [PATCH 4/6] gnu: Add ghc-binary.
2018-05-11 20:34 [bug#31419] [PATCH 2/6] gnu: Add ghc-array Tonton
2018-05-11 20:34 ` [bug#31420] [PATCH 3/6] gnu: Add ghc-containers Tonton
@ 2018-05-11 20:34 ` Tonton
2018-05-13 21:13 ` [bug#31418] " Ludovic Courtès
2018-05-17 14:18 ` [bug#31418] [bug#31421] " Ludovic Courtès
2018-05-11 20:34 ` [bug#31422] [PATCH 5/6] gnu: Add ghc-semigroupoids-5.2.2 Tonton
2018-05-11 20:34 ` [bug#31423] [PATCH 6/6] gnu: Add ghc-bytes Tonton
3 siblings, 2 replies; 11+ messages in thread
From: Tonton @ 2018-05-11 20:34 UTC (permalink / raw)
To: 31418, 31421; +Cc: Tonton
* gnu/packages/haskell.scm (ghc-binary): New variable.
---
gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index dd9d2f15d..d8128422e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9521,4 +9521,38 @@ maps, sequences, trees, and graphs.")
(home-page "https://hackage.haskell.org/package/containers")
(license license:bsd-3)))
+(define-public ghc-binary
+ (package
+ (name "ghc-binary")
+ (version "0.8.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://hackage.haskell.org/package/binary-0.8.5.1/binary-"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15h5zqfw7xmcimvlq6bs8f20vxlfvz7g411fns5z7212crlimffy"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-bytestring" ,ghc-bytestring-builder)
+ ("ghc-array" ,ghc-array)
+ ("ghc-ghc-prim" ,ghc-primitive)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-quickcheck" ,ghc-quickcheck-2.9)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2-w-qc-2.9)
+ ("ghc-containers" ,ghc-containers)))
+ (synopsis "Haskell binary serialisation using lazy ByteStrings")
+ (description "Efficient, pure binary serialisation using lazy
+ByteStrings. Haskell values may be encoded to and from binary formats,
+written to disk as binary, or sent over the network. The format used can
+be automatically generated, or you can choose to implement a custom
+format if needed. Serialisation speeds of over 1 G/sec have been
+observed, so this library should be suitable for high performance
+scenarios.")
+ (home-page "https://hackage.haskell.org/package/binary")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.17.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#31418] [PATCH 4/6] gnu: Add ghc-binary.
2018-05-11 20:34 ` [bug#31421] [PATCH 4/6] gnu: Add ghc-binary Tonton
@ 2018-05-13 21:13 ` Ludovic Courtès
2018-05-17 14:18 ` [bug#31418] [bug#31421] " Ludovic Courtès
1 sibling, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2018-05-13 21:13 UTC (permalink / raw)
To: Tonton; +Cc: 31418
Hello,
I’ve applied patches 1 to 3 with minor tweaks to the descriptions (so
that they’d be full sentences, for instance), but…
Tonton <tonton@riseup.net> skribis:
> * gnu/packages/haskell.scm (ghc-binary): New variable.
[...]
> + (inputs `(("ghc-bytestring" ,ghc-bytestring-builder)
> + ("ghc-array" ,ghc-array)
> + ("ghc-ghc-prim" ,ghc-primitive)
> + ("ghc-hunit" ,ghc-hunit)
> + ("ghc-quickcheck" ,ghc-quickcheck-2.9)
> + ("ghc-test-framework" ,ghc-test-framework)
> + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2-w-qc-2.9)
… here ‘ghc-test-framework-quickcheck2-w-qc-2.9’ is undefined. Did you
mean to define it in the first patch?
Could you send an updated patch set for what remains?
Thanks in advance,
Ludo’.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#31418] [bug#31421] [PATCH 4/6] gnu: Add ghc-binary.
2018-05-11 20:34 ` [bug#31421] [PATCH 4/6] gnu: Add ghc-binary Tonton
2018-05-13 21:13 ` [bug#31418] " Ludovic Courtès
@ 2018-05-17 14:18 ` Ludovic Courtès
1 sibling, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2018-05-17 14:18 UTC (permalink / raw)
To: Tonton; +Cc: 31418, 31421-done
Tonton <tonton@riseup.net> skribis:
> * gnu/packages/haskell.scm (ghc-binary): New variable.
As discussed at
<https://lists.gnu.org/archive/html/help-guix/2018-05/msg00090.html>
this is unnecessary, so I’m closing this issue.
Ludo’.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#31422] [PATCH 5/6] gnu: Add ghc-semigroupoids-5.2.2
2018-05-11 20:34 [bug#31419] [PATCH 2/6] gnu: Add ghc-array Tonton
2018-05-11 20:34 ` [bug#31420] [PATCH 3/6] gnu: Add ghc-containers Tonton
2018-05-11 20:34 ` [bug#31421] [PATCH 4/6] gnu: Add ghc-binary Tonton
@ 2018-05-11 20:34 ` Tonton
2018-05-17 19:37 ` [bug#31422] [PATCH 1/2] " Tonton
2018-05-11 20:34 ` [bug#31423] [PATCH 6/6] gnu: Add ghc-bytes Tonton
3 siblings, 1 reply; 11+ messages in thread
From: Tonton @ 2018-05-11 20:34 UTC (permalink / raw)
To: 31418, 31422; +Cc: Tonton
* gnu/packages/haskell.scm (ghc-semigroupoids-5.2.2): New variable.
---
gnu/packages/haskell.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d8128422e..2429fdbe5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9555,4 +9555,19 @@ scenarios.")
(home-page "https://hackage.haskell.org/package/binary")
(license license:bsd-3)))
+(define-public ghc-semigroupoids-5.2.2
+ (package
+ (inherit ghc-semigroupoids)
+ (name "ghc-semigroupoids")
+ (version "5.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/semigroupoids-5.2.2/semigroupoids-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
+ (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
+ ,@(package-inputs ghc-semigroupoids)))))
+
;;; haskell.scm ends here
--
2.17.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#31422] [PATCH 1/2] gnu: Add ghc-semigroupoids-5.2.2.
2018-05-11 20:34 ` [bug#31422] [PATCH 5/6] gnu: Add ghc-semigroupoids-5.2.2 Tonton
@ 2018-05-17 19:37 ` Tonton
2018-05-20 20:44 ` bug#31422: " Ludovic Courtès
0 siblings, 1 reply; 11+ messages in thread
From: Tonton @ 2018-05-17 19:37 UTC (permalink / raw)
To: 31422; +Cc: Tonton
* gnu/packages/haskell.scm (ghc-semigroupoids-5.2.2): New variable.
---
gnu/packages/haskell.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9b26ff56f..874a9202a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Tonton <tonton@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9466,4 +9467,20 @@ system dependencies.")
address string against RFC 5322.")
(license license:bsd-3)))
+(define-public ghc-semigroupoids-5.2.2
+ (package
+ (inherit ghc-semigroupoids)
+ (name "ghc-semigroupoids")
+ (version "5.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "semigroupoids-" version "/semigroupoids-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
+ (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
+ ,@(package-inputs ghc-semigroupoids)))))
+
;;; haskell.scm ends here
--
2.17.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#31423] [PATCH 6/6] gnu: Add ghc-bytes.
2018-05-11 20:34 [bug#31419] [PATCH 2/6] gnu: Add ghc-array Tonton
` (2 preceding siblings ...)
2018-05-11 20:34 ` [bug#31422] [PATCH 5/6] gnu: Add ghc-semigroupoids-5.2.2 Tonton
@ 2018-05-11 20:34 ` Tonton
2018-05-17 19:34 ` [bug#31423] [PATCH 2/2] " Tonton
3 siblings, 1 reply; 11+ messages in thread
From: Tonton @ 2018-05-11 20:34 UTC (permalink / raw)
To: 31418, 31423; +Cc: Tonton
* 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#31423] [PATCH 2/2] gnu: Add ghc-bytes.
2018-05-11 20:34 ` [bug#31423] [PATCH 6/6] gnu: Add ghc-bytes Tonton
@ 2018-05-17 19:34 ` Tonton
2018-05-20 20:58 ` bug#31423: " Ludovic Courtès
0 siblings, 1 reply; 11+ messages in thread
From: Tonton @ 2018-05-17 19:34 UTC (permalink / raw)
To: 31423; +Cc: Tonton
* 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* bug#31423: [PATCH 2/2] gnu: Add ghc-bytes.
2018-05-17 19:34 ` [bug#31423] [PATCH 2/2] " Tonton
@ 2018-05-20 20:58 ` Ludovic Courtès
0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2018-05-20 20:58 UTC (permalink / raw)
To: Tonton; +Cc: 31423-done
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
Tonton <tonton@riseup.net> skribis:
> * gnu/packages/haskell.scm (ghc-bytes): New variable.
Applied with the changes below. We're done, thanks!
Ludo'.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 868 bytes --]
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)))
^ permalink raw reply related [flat|nested] 11+ messages in thread