all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies.
@ 2018-03-21  3:40 rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 01/37] gnu: ghc-chunked-data: Update inputs rsiddharth
                   ` (37 more replies)
  0 siblings, 38 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:40 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

This patch series adds ghc-yesod and its dependencies.

Applies on top of db6609bd1.

* Tests were disabled for:
    - ghc-psqueues
    - ghc-math-functions

* Inputs updated for:
    - ghc-chunked-data

* ghc-conduit-extra was updated to 1.1.14.

    $ ./pre-inst-env guix refresh -l ghc-conduit-extra
       Building the following 3 packages would ensure 16 dependent packages are rebuilt: ghc-pandoc-citeproc@0.12.2.5 ghc-yesod@1.4.5 ghc-aws@0.18

            - ghc-aws@0.18 -> Won't build
                  - Dependency ghc-vector-algorithms fails to build.
                    Submitted a patch upstream https://hub.darcs.net/dolio/vector-algorithms/bundle/2/patch/fac9c1e97bd2df8b6bbe8e35da714ec2594c15ab

            - ghc-pandoc-citeproc@0.12.2.5 and ghc-yesod@1.4.5 build.

rsiddharth (37):
  gnu: ghc-chunked-data: Update inputs.
  gnu: Add ghc-stm-chans.
  gnu: Add ghc-monad-loops.
  gnu: Add ghc-monad-logger.
  gnu: Add ghc-shakespeare.
  gnu: Add ghc-path-pieces.
  gnu: Add ghc-skein.
  gnu: Add ghc-securemem.
  gnu: Add ghc-crypto-cipher-types.
  gnu: Add ghc-crypto-cipher-tests.
  gnu: Add ghc-cipher-aes.
  gnu: Add ghc-crypto-random.
  gnu: Add ghc-cprng-aes.
  gnu: Add ghc-clientsession.
  gnu: Add ghc-yesod-core.
  gnu: Add ghc-resource-pool.
  gnu: Add ghc-attoparsec-iso8601.
  gnu: Add ghc-th-lift-instances.
  gnu: Add ghc-generics-sop.
  gnu: Add ghc-uri-bytestring.
  gnu: Add ghc-time-locale-compat.
  gnu: Add ghc-http-api-data.
  gnu: Add ghc-persistent.
  gnu: Add ghc-aeson-compat.
  gnu: Add ghc-persistent-template.
  gnu: Add ghc-unliftio-core.
  gnu: Add ghc-microlens.
  gnu: Add ghc-microlens-th.
  gnu: Add ghc-unliftio.
  gnu: Add ghc-persistent-sqlite.
  gnu: ghc-math-functions: Disable tests.
  gnu: ghc-psqueues: Disable tests.
  gnu: Add ghc-yesod-persistent.
  gnu: Add ghc-email-validate.
  gnu: Add ghc-yesod-form.
  gnu: ghc-conduit-extra: Update to 1.1.14.
  gnu: Add ghc-yesod.

 gnu/packages/haskell-check.scm  |  31 ++
 gnu/packages/haskell-crypto.scm | 130 +++++++++
 gnu/packages/haskell-web.scm    | 278 ++++++++++++++++++
 gnu/packages/haskell.scm        | 610 +++++++++++++++++++++++++++++++++++++++-
 4 files changed, 1046 insertions(+), 3 deletions(-)

-- 
2.16.2

^ permalink raw reply	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 01/37] gnu: ghc-chunked-data: Update inputs.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 02/37] gnu: Add ghc-stm-chans rsiddharth
                   ` (36 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-chunked-data)[inputs]: Add ghc-text.
---
 gnu/packages/haskell.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4fc2b4050..ad8ba6e7f 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8516,7 +8516,8 @@ and regression and autocorrelation analysis.
          "0bszq6fijnr4pmadzz89smj7kfmzx0ca3wd9ga8gv0in9jk9vgp1"))))
     (build-system haskell-build-system)
     (inputs `(("ghc-vector" ,ghc-vector)
-              ("ghc-semigroups" ,ghc-semigroups)))
+              ("ghc-semigroups" ,ghc-semigroups)
+              ("ghc-text" ,ghc-text)))
     (home-page "https://github.com/snoyberg/mono-traversable")
     (synopsis "Typeclasses for dealing with various chunked data
 representations for Haskell")
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 02/37] gnu: Add ghc-stm-chans.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 01/37] gnu: ghc-chunked-data: Update inputs rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 03/37] gnu: Add ghc-monad-loops rsiddharth
                   ` (35 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-stm-chans): New variable.
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index ad8ba6e7f..382151f4b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9024,4 +9024,26 @@ Haskell programmers.  The ultimate goal is to support all Amazon
 Web Services.")
     (license license:bsd-3)))
 
+(define-public ghc-stm-chans
+  (package
+    (name "ghc-stm-chans")
+    (version "3.0.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "stm-chans-" version "/"
+                           "stm-chans-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-stm" ,ghc-stm)))
+    (home-page "https://hackage.haskell.org/package/stm-chans")
+    (synopsis "Additional types of channels for ghc-stm")
+    (description "This Haskell package offers a collection of channel types,
+similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
+features.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 03/37] gnu: Add ghc-monad-loops.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 01/37] gnu: ghc-chunked-data: Update inputs rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 02/37] gnu: Add ghc-stm-chans rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 04/37] gnu: Add ghc-monad-logger rsiddharth
                   ` (34 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-monad-loops): New variable.
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 382151f4b..7c800f2bb 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9046,4 +9046,26 @@ similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
 features.")
     (license license:bsd-3)))
 
+(define-public ghc-monad-loops
+  (package
+    (name "ghc-monad-loops")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "monad-loops-" version "/"
+                           "monad-loops-" version ".tar.gz"))
+       (sha256
+        (base32
+         "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
+    (build-system haskell-build-system)
+    (native-inputs `(("ghc-tasty" ,ghc-tasty)
+                     ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+    (home-page "https://github.com/mokus0/monad-loops")
+    (synopsis "Monadic loops for Haskell")
+    (description "This Haskell package provides some useful control
+operators for looping.")
+    (license license:public-domain)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 04/37] gnu: Add ghc-monad-logger.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (2 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 03/37] gnu: Add ghc-monad-loops rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 05/37] gnu: Add ghc-shakespeare rsiddharth
                   ` (33 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-monad-logger): New variable.
---
 gnu/packages/haskell.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7c800f2bb..d22f26824 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9068,4 +9068,42 @@ features.")
 operators for looping.")
     (license license:public-domain)))
 
+(define-public ghc-monad-logger
+  (package
+    (name "ghc-monad-logger")
+    (version "0.3.25.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "monad-logger-" version "/"
+                           "monad-logger-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0yv4fsi566zrn30j2g5l901lyqgmflhvzy4hji7ikcbh5d45m920"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
+              ("ghc-text" ,ghc-text)
+              ("ghc-stm" ,ghc-stm)
+              ("ghc-stm-chans" ,ghc-stm-chans)
+              ("ghc-lifted-base" ,ghc-lifted-base)
+              ("ghc-resourcet" ,ghc-resourcet)
+              ("ghc-conduit" ,ghc-conduit)
+              ("ghc-conduit-extra" ,ghc-conduit-extra)
+              ("ghc-fast-logger" ,ghc-fast-logger)
+              ("ghc-transformers-base" ,ghc-transformers-base)
+              ("ghc-monad-control" ,ghc-monad-control)
+              ("ghc-monad-loops" ,ghc-monad-loops)
+              ("ghc-mtl" ,ghc-mtl)
+              ("ghc-blaze-builder" ,ghc-blaze-builder)
+              ("ghc-exceptions" ,ghc-exceptions)))
+    (home-page "https://github.com/kazu-yamamoto/logger")
+    (synopsis "Provides a class of monads which can log messages for Haskell")
+    (description "This Haskell package uses a monad transformer approach
+for logging.
+
+This package provides Template Haskell functions for determining source
+code locations of messages.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 05/37] gnu: Add ghc-shakespeare.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (3 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 04/37] gnu: Add ghc-monad-logger rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 06/37] gnu: Add ghc-path-pieces rsiddharth
                   ` (32 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-shakespeare): 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 d22f26824..21e6c2021 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9106,4 +9106,38 @@ This package provides Template Haskell functions for determining source
 code locations of messages.")
     (license license:expat)))
 
+(define-public ghc-shakespeare
+  (package
+    (name "ghc-shakespeare")
+    (version "2.0.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "shakespeare-" version "/"
+                           "shakespeare-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0j5zx8ka7d7scvb9shm7k3376qzl3k4kpim9aqqfs6n86901zpl4"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-parsec" ,ghc-parsec)
+              ("ghc-text" ,ghc-text)
+              ("ghc-aeson" ,ghc-aeson)
+              ("ghc-blaze-markup" ,ghc-blaze-markup)
+              ("ghc-blaze-html" ,ghc-blaze-html)
+              ("ghc-exceptions" ,ghc-exceptions)
+              ("ghc-vector" ,ghc-vector)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)
+              ("ghc-scientific" ,ghc-scientific)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)
+                     ("ghc-hunit" ,ghc-hunit)
+                     ("hspec-discover" ,hspec-discover)))
+    (home-page "https://www.yesodweb.com/book/shakespearean-templates")
+    (synopsis "Family of type-safe template languages for Haskell")
+    (description "This Haskell package provides a family of type-safe
+templates with simple variable interpolation.  Shakespeare templates can
+be used inline with a quasi-quoter or in an external file and it
+interpolates variables according to the type being inserted.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 06/37] gnu: Add ghc-path-pieces.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (4 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 05/37] gnu: Add ghc-shakespeare rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 07/37] gnu: Add ghc-skein rsiddharth
                   ` (31 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-web.scm (ghc-path-pieces): New variable.
---
 gnu/packages/haskell-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 1190bc63a..edfb43c08 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -901,3 +901,27 @@ of a JSON value into a @code{Data.Aeson.Value}.")
     (synopsis "Unicode aware uri-encoding")
     (description "Unicode aware uri-encoding for Haskell.")
     (license license:bsd-3)))
+
+(define-public ghc-path-pieces
+  (package
+    (name "ghc-path-pieces")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "path-pieces-" version "/"
+                           "path-pieces-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0vx3sivcsld76058925hym2j6hm3g71f0qjr7v59f1g2afgx82q8"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-text" ,ghc-text)))
+    (native-inputs `(("ghc-hunit" ,ghc-hunit)
+                     ("ghc-hspec" ,ghc-hspec)
+                     ("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page "https://github.com/yesodweb/path-pieces")
+    (synopsis "Used in Yesod to automatically marshall data in the request path")
+    (description  "This Haskell package provides two typeclasses for converting
+Haskell data types to and from route pieces.")
+    (license license:bsd-3)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 07/37] gnu: Add ghc-skein.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (5 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 06/37] gnu: Add ghc-path-pieces rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 08/37] gnu: Add ghc-securemem rsiddharth
                   ` (30 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-web.scm (ghc-skein): New variable.
---
 gnu/packages/haskell-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index edfb43c08..04d4bd24c 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -925,3 +925,31 @@ of a JSON value into a @code{Data.Aeson.Value}.")
     (description  "This Haskell package provides two typeclasses for converting
 Haskell data types to and from route pieces.")
     (license license:bsd-3)))
+
+(define-public ghc-skein
+  (package
+    (name "ghc-skein")
+    (version "1.0.9.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "skein-" version "/"
+                           "skein-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1jdqdk0rz2wnvw735clnj8jh0a9rkrbqjg7vk3w6wczdql6cm0pq"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-cereal" ,ghc-cereal)
+              ("ghc-tagged" ,ghc-tagged)
+              ("ghc-crpto-api" ,ghc-crypto-api)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)))
+    (home-page "https://github.com/yesodweb/path-pieces")
+    (synopsis "Skein family of cryptographic hash functions for Haskell")
+    (description "@uref{(http://www.skein-hash.info, Skein} is a family of
+fast secure cryptographic hash functions designed by Niels Ferguson, Stefan
+Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon
+Callas and Jesse Walker.
+
+This Haskell package uses bindings to the optimized C implementation of Skein.")
+    (license license:bsd-3)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 08/37] gnu: Add ghc-securemem.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (6 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 07/37] gnu: Add ghc-skein rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 09/37] gnu: Add ghc-crypto-cipher-types rsiddharth
                   ` (29 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-securemem): New variable.
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 21e6c2021..dab0935bf 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9140,4 +9140,27 @@ be used inline with a quasi-quoter or in an external file and it
 interpolates variables according to the type being inserted.")
     (license license:expat)))
 
+(define-public ghc-securemem
+  (package
+    (name "ghc-securemem")
+    (version "0.1.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "securemem-" version "/"
+                           "securemem-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0dkhhjxa7njc3qbgvd5a23rkvr39vj2kn2a9nk6yjg7a8b2hvdpy"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-byteable" ,ghc-byteable)
+              ("ghc-memory" ,ghc-memory)))
+    (home-page "https://github.com/vincenthz/hs-securemem")
+    (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
+Haskell")
+    (description "SecureMem is similar to ByteString, except that it provides
+a memory chunk that will be auto-scrubbed after it run out of scope.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 09/37] gnu: Add ghc-crypto-cipher-types.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (7 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 08/37] gnu: Add ghc-securemem rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 10/37] gnu: Add ghc-crypto-cipher-tests rsiddharth
                   ` (28 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-crypto.scm
(ghc-crypto-cipher-types): New variable.
---
 gnu/packages/haskell-crypto.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index ae69cfe3a..a323a6538 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -529,3 +529,25 @@ list validation.")
      "This package provides a library to handle system accessors and storage
 for X.509 certificates.")
     (license license:bsd-3)))
+
+(define-public ghc-crypto-cipher-types
+  (package
+    (name "ghc-crypto-cipher-types")
+    (version "0.0.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "crypto-cipher-types-" version "/"
+                           "crypto-cipher-types-" version ".tar.gz"))
+       (sha256
+        (base32
+         "03qa1i1kj07pfrxsi7fiaqnnd0vi94jd4jfswbmnm4gp1nvzcwr0"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-byteable" ,ghc-byteable)
+              ("ghc-securemem" ,ghc-securemem)))
+    (home-page "https://github.com/vincenthz/hs-crypto-cipher")
+    (synopsis "Generic cryptography cipher types for Haskell")
+    (description "This Haskell package provides basic typeclasses and types
+for symmetric ciphers.")
+    (license license:bsd-3)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 10/37] gnu: Add ghc-crypto-cipher-tests.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (8 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 09/37] gnu: Add ghc-crypto-cipher-types rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes rsiddharth
                   ` (27 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-check.scm
(ghc-crypto-cipher-tests): New variable.
---
 gnu/packages/haskell-check.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm
index 9593e4c10..6b1d76931 100644
--- a/gnu/packages/haskell-check.scm
+++ b/gnu/packages/haskell-check.scm
@@ -27,6 +27,7 @@
 (define-module (gnu packages haskell-check)
   #:use-module (gnu packages)
   #:use-module (gnu packages haskell)
+  #:use-module (gnu packages haskell-crypto)
   #:use-module (guix build-system haskell)
   #:use-module (guix download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -793,3 +794,33 @@ Haskell, inspired by the Ruby library RSpec.")
      "Nanospec is a lightweight implementation of a subset of Hspec's API with
 minimal dependencies.")
     (license license:expat)))
+
+(define-public ghc-crypto-cipher-tests
+  (package
+    (name "ghc-crypto-cipher-tests")
+    (version "0.0.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "crypto-cipher-tests-" version "/"
+                           "crypto-cipher-tests-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19wqignlq90qwpam01hnmmrxaxh5lkax9l1l6rlbi4a07nvp1dnz"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-quickcheck" ,ghc-quickcheck)
+              ("ghc-mtl" ,ghc-mtl)
+              ("ghc-hunit" ,ghc-hunit)
+              ("ghc-test-framework" ,ghc-test-framework)
+              ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+              ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+              ("ghc-byteable" ,ghc-byteable)
+              ("ghc-securemem" ,ghc-securemem)
+              ("ghc-crypto-cipher-types" ,ghc-crypto-cipher-types)))
+    (home-page "https://github.com/vincenthz/hs-crypto-cipher")
+    (synopsis "Generic cryptography cipher tests for Haskell")
+    (description " This Haskell package contains generic tests for
+cryptographic ciphers, and is used by the test runners of various Haskell
+implementations of cryptographic ciphers.")
+    (license license:bsd-3)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (9 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 10/37] gnu: Add ghc-crypto-cipher-tests rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random rsiddharth
                   ` (26 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-crypto.scm
(ghc-cipher-aes): New variable.
---
 gnu/packages/haskell-crypto.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index a323a6538..b51727db5 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -551,3 +551,43 @@ for X.509 certificates.")
     (description "This Haskell package provides basic typeclasses and types
 for symmetric ciphers.")
     (license license:bsd-3)))
+
+(define-public ghc-cipher-aes
+  (package
+    (name "ghc-cipher-aes")
+    (version "0.2.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "cipher-aes-" version "/"
+                           "cipher-aes-" version ".tar.gz"))
+       (sha256
+        (base32
+         "05ahz6kjq0fl1w66gpiqy0vndli5yx1pbsbw9ni3viwqas4p3cfk"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-byteable" ,ghc-byteable)
+              ("ghc-securemem" ,ghc-securemem)
+              ("ghc-crypto-cipher-types" ,ghc-crypto-cipher-types)))
+    (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
+                     ("ghc-test-framework" ,ghc-test-framework)
+                     ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+                     ("ghc-crypto-cipher-tests" ,ghc-crypto-cipher-tests)))
+    (home-page "https://github.com/vincenthz/hs-cipher-aes")
+    (synopsis "AES cipher implementation with advanced mode of operations for
+Haskell")
+    (description "This Haskell package provides AES cipher implementation.
+
+The modes of operations available are ECB (Electronic code book), CBC (Cipher
+block chaining), CTR (Counter), XTS (XEX with ciphertext stealing),
+GCM (Galois Counter Mode).
+
+The AES implementation uses AES-NI when available (on x86 and x86-64
+architecture), but fallback gracefully to a software C implementation.
+
+The software implementation uses S-Boxes, which might suffer for cache timing
+issues.  However do notes that most other known software implementations,
+including very popular one (openssl, gnutls) also uses similar
+implementation.  If it matters for your case, you should make sure you have
+AES-NI available, or you'll need to use a different implementation.")
+    (license license:bsd-3)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (10 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 13/37] gnu: Add ghc-cprng-aes rsiddharth
                   ` (25 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-crypto.scm (ghc-crypto-random): New variable.
---
 gnu/packages/haskell-crypto.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index b51727db5..9dff57546 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -591,3 +591,25 @@ including very popular one (openssl, gnutls) also uses similar
 implementation.  If it matters for your case, you should make sure you have
 AES-NI available, or you'll need to use a different implementation.")
     (license license:bsd-3)))
+
+(define-public ghc-crypto-random
+  (package
+    (name "ghc-crypto-random")
+    (version "0.0.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "crypto-random-" version "/"
+                           "crypto-random-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0139kbbb2h7vshf68y3fvjda29lhj7jjwl4vq78w4y8k8hc7l2hp"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-securemem" ,ghc-securemem)
+              ("ghc-vector" ,ghc-vector)))
+    (home-page "https://github.com/vincenthz/hs-crypto-random")
+    (synopsis "Simple cryptographic random related types for Haskell")
+    (description "Simple cryptographic random related types: a safe
+abstraction for CPRNGs.")
+    (license license:bsd-3)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 13/37] gnu: Add ghc-cprng-aes.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (11 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession rsiddharth
                   ` (24 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-crypto.scm (ghc-cprng-aes): New variable.
---
 gnu/packages/haskell-crypto.scm | 46 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index 9dff57546..e9c380f97 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -613,3 +613,49 @@ AES-NI available, or you'll need to use a different implementation.")
     (description "Simple cryptographic random related types: a safe
 abstraction for CPRNGs.")
     (license license:bsd-3)))
+
+(define-public ghc-cprng-aes
+  (package
+    (name "ghc-cprng-aes")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "cprng-aes-" version "/"
+                           "cprng-aes-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1wr15kbmk1g3l8a75n0iwbzqg24ixv78slwzwb2q6rlcvq0jlnb4"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-byteable" ,ghc-byteable)
+              ("ghc-crypto-random" ,ghc-crypto-random)
+              ("ghc-cipher-aes" ,ghc-cipher-aes)))
+    (home-page "https://github.com/vincenthz/hs-cprng-aes")
+    (synopsis "Crypto Pseudo Random Number Generator using AES in counter mode
+in Haskell")
+    (description "Simple crypto pseudo-random-number-generator with really
+good randomness property.
+
+Using ent, a randomness property maker on one 1Mb sample:
+
+@itemize
+@item Entropy = 7.999837 bits per byte.
+@item Optimum compression would reduce the size of this 1048576 byte file by 0
+percent.
+@item Chi square distribution for 1048576 samples is 237.02.
+@item Arithmbetic mean value of data bytes is 127.3422 (127.5 = random).
+@item Monte Carlo value for Pi is 3.143589568 (error 0.06 percent).
+@end itemize
+
+Compared to urandom with the same sampling:
+
+@itemize
+@item Entropy = 7.999831 bits per byte.
+@item Optimum compression would reduce the size of this 1048576 byte file by 0
+percent.
+@item Chi square distribution for 1048576 samples is 246.63.
+@item Arithmetic mean value of data bytes is 127.6347 (127.5 = random).
+@item Monte Carlo value for Pi is 3.132465868 (error 0.29 percent).
+@end itemize")
+    (license license:bsd-3)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (12 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 13/37] gnu: Add ghc-cprng-aes rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 15/37] gnu: Add ghc-yesod-core rsiddharth
                   ` (23 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-web.scm (ghc-clientsession): New variable.
---
 gnu/packages/haskell-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 04d4bd24c..8af115ff4 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -953,3 +953,38 @@ Callas and Jesse Walker.
 
 This Haskell package uses bindings to the optimized C implementation of Skein.")
     (license license:bsd-3)))
+
+(define-public ghc-clientsession
+  (package
+    (name "ghc-clientsession")
+    (version "0.9.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "clientsession-" version "/"
+                           "clientsession-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0s6h4ykj16mpf7nlw2iqn2ji0p8g1fn5ni0s7yqaili6vv2as5ar"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-cereal" ,ghc-cereal)
+              ("ghc-tagged" ,ghc-tagged)
+              ("ghc-crypto-api" ,ghc-crypto-api)
+              ("ghc-skein" ,ghc-skein)
+              ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+              ("ghc-entropy" ,ghc-entropy)
+              ("ghc-cprng-aes" ,ghc-cprng-aes)
+              ("ghc-cipher-aes" ,ghc-cipher-aes)
+              ("ghc-crypto-random" ,ghc-crypto-random)
+              ("ghc-setenv" ,ghc-setenv)))
+    (native-inputs `(("ghc-hunit" ,ghc-hunit)
+                     ("ghc-hspec" ,ghc-hspec)
+                     ("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page "https://github.com/yesodweb/clientsession/tree/master")
+    (synopsis "Haskell library for securely store session data in a
+client-side cookie")
+    (description "This Haskell package achieves security through AES-CTR
+encryption and Skein-MAC-512-256 authentication.  Uses Base64 encoding to
+avoid any issues with characters.")
+    (license license:expat)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 15/37] gnu: Add ghc-yesod-core.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (13 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 16/37] gnu: Add ghc-resource-pool rsiddharth
                   ` (22 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-web.scm
(ghc-yesod-core): New variable.
---
 gnu/packages/haskell-web.scm | 70 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 8af115ff4..c6c85d8ed 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -988,3 +988,73 @@ client-side cookie")
 encryption and Skein-MAC-512-256 authentication.  Uses Base64 encoding to
 avoid any issues with characters.")
     (license license:expat)))
+
+(define-public ghc-yesod-core
+  (package
+    (name "ghc-yesod-core")
+    (version "1.4.37")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "yesod-core-" version "/"
+                           "yesod-core-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ww8hl0cx2g58zrdx3j6d5m2xwhssbajdqws1xk6rzl7rpfm1b9j"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-wai" ,ghc-wai)
+              ("ghc-extra" ,ghc-extra)
+              ("ghc-text" ,ghc-text)
+              ("ghc-shakespeare" ,ghc-shakespeare)
+              ("ghc-blaze-builder" ,ghc-blaze-builder)
+              ("ghc-mtl" ,ghc-mtl)
+              ("ghc-clientsession" ,ghc-clientsession)
+              ("ghc-random" ,ghc-random)
+              ("ghc-cereal" ,ghc-cereal)
+              ("ghc-old-locale" ,ghc-old-locale)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)
+              ("ghc-monad-control" ,ghc-monad-control)
+              ("ghc-transformers-base" ,ghc-transformers-base)
+              ("ghc-cookie" ,ghc-cookie)
+              ("ghc-http-types" ,ghc-http-types)
+              ("ghc-case-insensitive" ,ghc-case-insensitive)
+              ("ghc-parsec" ,ghc-parsec)
+              ("ghc-vector" ,ghc-vector)
+              ("ghc-aeson" ,ghc-aeson)
+              ("ghc-fast-logger" ,ghc-fast-logger)
+              ("ghc-wai-logger" ,ghc-wai-logger)
+              ("ghc-monad-logger" ,ghc-monad-logger)
+              ("ghc-conduit" ,ghc-conduit)
+              ("ghc-resourcet" ,ghc-resourcet)
+              ("ghc-lifted-base" ,ghc-lifted-base)
+              ("ghc-blaze-html" ,ghc-blaze-html)
+              ("ghc-blaze-markup" ,ghc-blaze-markup)
+              ("ghc-data-default" ,ghc-data-default)
+              ("ghc-safe" ,ghc-safe)
+              ("ghc-warp" ,ghc-warp)
+              ("ghc-unix-compat" ,ghc-unix-compat)
+              ("ghc-conduit-extra" ,ghc-conduit-extra)
+              ("ghc-exceptions" ,ghc-exceptions)
+              ("ghc-deepseq-generics" ,ghc-deepseq-generics)
+              ("ghc-mwc-random" ,ghc-mwc-random)
+              ("ghc-primitive" ,ghc-primitive)
+              ("ghc-word8" ,ghc-word8)
+              ("ghc-auto-update" ,ghc-auto-update)
+              ("ghc-semigroups" ,ghc-semigroups)
+              ("ghc-byteable" ,ghc-byteable)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)
+                     ("ghc-path-pieces" ,ghc-path-pieces)
+                     ("ghc-hunit" ,ghc-hunit)
+                     ("ghc-hspec-expectations" ,ghc-hspec-expectations)
+                     ("ghc-quickcheck" ,ghc-quickcheck)
+                     ("ghc-network" ,ghc-network)
+                     ("ghc-async" ,ghc-async)
+                     ("ghc-streaming-commons" ,ghc-streaming-commons)
+                     ("ghc-wai-extra" ,ghc-wai-extra)))
+    (home-page "https://www.yesodweb.com")
+    (synopsis "Core package for the Yesod web framework")
+    (description "This Haskell package provides all core functionality, for
+Yesod, on which other packages can be built.  It provides dispatch, handler
+functions, widgets, etc.")
+    (license license:expat)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 16/37] gnu: Add ghc-resource-pool.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (14 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 15/37] gnu: Add ghc-yesod-core rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 17/37] gnu: Add ghc-attoparsec-iso8601 rsiddharth
                   ` (21 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-resource-pool): New variable.
---
 gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index dab0935bf..a2efd8226 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9163,4 +9163,30 @@ Haskell")
 a memory chunk that will be auto-scrubbed after it run out of scope.")
     (license license:bsd-3)))
 
+(define-public ghc-resource-pool
+  (package
+    (name "ghc-resource-pool")
+    (version "0.2.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "resource-pool-" version "/"
+                           "resource-pool-" version ".tar.gz"))
+       (sha256
+        (base32
+         "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-hashable" ,ghc-hashable)
+              ("ghc-monad-control" ,ghc-monad-control)
+              ("ghc-transformers-base" ,ghc-transformers-base)
+              ("ghc-stm" ,ghc-stm)
+              ("ghc-vector" ,ghc-vector)))
+    (home-page "https://github.com/bos/pool")
+    (synopsis "Striped resource pooling implementation in Haskell")
+    (description "This Haskell package provides striped pooling abstraction
+for managing flexibly-sized collections of resources such as database
+connections.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 17/37] gnu: Add ghc-attoparsec-iso8601.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (15 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 16/37] gnu: Add ghc-resource-pool rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 18/37] gnu: Add ghc-th-lift-instances rsiddharth
                   ` (20 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-attoparsec-iso8601): New variable.
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a2efd8226..3b0745e1b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9189,4 +9189,27 @@ for managing flexibly-sized collections of resources such as database
 connections.")
     (license license:bsd-3)))
 
+(define-public ghc-attoparsec-iso8601
+  (package
+    (name "ghc-attoparsec-iso8601")
+    (version "1.0.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "attoparsec-iso8601-" version "/"
+                           "attoparsec-iso8601-" version ".tar.gz"))
+       (sha256
+        (base32
+         "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
+              ("ghc-base-compat" ,ghc-base-compat)
+              ("ghc-text" ,ghc-text)))
+    (home-page "https://github.com/bos/aeson")
+    (synopsis "Parse ISO 8601 dates")
+    (description "Haskell library for parsing of ISO 8601 dates, originally
+from aeson.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 18/37] gnu: Add ghc-th-lift-instances.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (16 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 17/37] gnu: Add ghc-attoparsec-iso8601 rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 19/37] gnu: Add ghc-generics-sop rsiddharth
                   ` (19 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm
(ghc-th-lift-instances): New variable.
---
 gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3b0745e1b..3432fb6d5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9212,4 +9212,29 @@ connections.")
 from aeson.")
     (license license:bsd-3)))
 
+(define-public ghc-th-lift-instances
+  (package
+    (name "ghc-th-lift-instances")
+    (version "0.1.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "th-lift-instances-" version "/"
+                           "th-lift-instances-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-th-lift" ,ghc-th-lift)
+              ("ghc-vector" ,ghc-vector)
+              ("ghc-text" ,ghc-text)))
+    (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page "https://github.com/bennofs/th-lift-instances")
+    (synopsis "Lift instances for template-haskell for common data types")
+    (description "Most data types in the Haskell platform do not have Lift
+instances.  This package provides orphan instances for containers, text,
+bytestring and vector.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 19/37] gnu: Add ghc-generics-sop.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (17 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 18/37] gnu: Add ghc-th-lift-instances rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 20/37] gnu: Add ghc-uri-bytestring rsiddharth
                   ` (18 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-generics-sop): New variable.
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3432fb6d5..0a1b34bc0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9237,4 +9237,27 @@ instances.  This package provides orphan instances for containers, text,
 bytestring and vector.")
     (license license:bsd-3)))
 
+(define-public ghc-generics-sop
+  (package
+    (name "ghc-generics-sop")
+    (version "0.3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "generics-sop-" version "/"
+                           "generics-sop-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1bazlhgmxcwv7vd44jhdx74cnhmaz6yy47jxfycapjj4mjrnp0x7"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
+    (home-page "https://github.com/well-typed/generics-sop")
+    (synopsis "Generic Programming using True Sums of Products for Haskell")
+    (description "This Haskell package supports the definition of generic
+functions.  Datatypes are viewed in a uniform, structured way: the choice
+between constructors is represented using an n-ary sum, and the arguments of
+each constructor are represented using an n-ary product.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 20/37] gnu: Add ghc-uri-bytestring.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (18 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 19/37] gnu: Add ghc-generics-sop rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:44 ` [bug#30892] [PATCH 21/37] gnu: Add ghc-time-locale-compat rsiddharth
                   ` (17 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-uri-bytestring): 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 0a1b34bc0..9ec084274 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9260,4 +9260,38 @@ between constructors is represented using an n-ary sum, and the arguments of
 each constructor are represented using an n-ary product.")
     (license license:bsd-3)))
 
+(define-public ghc-uri-bytestring
+  (package
+    (name "ghc-uri-bytestring")
+    (version "0.3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "uri-bytestring-" version "/"
+                           "uri-bytestring-" version ".tar.gz"))
+       (sha256
+        (base32
+         "04qjv1sgyrdg538290p9hqnvyxnahvr5cjwl8vm1rn9j0fv3ymq9"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
+              ("ghc-fail" ,ghc-fail)
+              ("ghc-blaze-builder" ,ghc-blaze-builder)
+              ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
+    (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
+                     ("ghc-hunit" ,ghc-hunit)
+                     ("ghc-quickcheck" ,ghc-quickcheck)
+                     ("ghc-tasty" ,ghc-tasty)
+                     ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+                     ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+                     ("ghc-base-compat" ,ghc-base-compat)
+                     ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
+                     ("ghc-semigroups" ,ghc-semigroups)
+                     ("ghc-generics-sop" ,ghc-generics-sop)))
+    (home-page "https://github.com/Soostone/uri-bytestring")
+    (synopsis "Haskell URI parsing as ByteStrings")
+    (description "This Haskell package aims to be an RFC3986 compliant URI
+parser that uses ByteStrings for parsing and representing the URI data.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 21/37] gnu: Add ghc-time-locale-compat.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (19 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 20/37] gnu: Add ghc-uri-bytestring rsiddharth
@ 2018-03-21  3:44 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 22/37] gnu: Add ghc-http-api-data rsiddharth
                   ` (16 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:44 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-time-locale-compat): New variable.
---
 gnu/packages/haskell.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9ec084274..72813a00a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9294,4 +9294,24 @@ each constructor are represented using an n-ary product.")
 parser that uses ByteStrings for parsing and representing the URI data.")
     (license license:bsd-3)))
 
+(define-public ghc-time-locale-compat
+  (package
+    (name "ghc-time-locale-compat")
+    (version "0.1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "time-locale-compat-" version "/"
+                           "time-locale-compat-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1vdcfr2hp9qh3ag90x6ikbdf42wiqpdylnplffna54bpnilbyi4i"))))
+    (build-system haskell-build-system)
+    (home-page "https://github.com/khibino/haskell-time-locale-compat")
+    (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
+    (description "This Haskell package contains wrapped name module for
+TimeLocale.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 22/37] gnu: Add ghc-http-api-data.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (20 preceding siblings ...)
  2018-03-21  3:44 ` [bug#30892] [PATCH 21/37] gnu: Add ghc-time-locale-compat rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 23/37] gnu: Add ghc-persistent rsiddharth
                   ` (15 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-http-api-data): 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 72813a00a..44a5664c0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9314,4 +9314,35 @@ parser that uses ByteStrings for parsing and representing the URI data.")
 TimeLocale.")
     (license license:bsd-3)))
 
+(define-public ghc-http-api-data
+  (package
+    (name "ghc-http-api-data")
+    (version "0.3.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "http-api-data-" version "/"
+                           "http-api-data-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1zbmf0kkfsw7pfznisi205gh7jd284gfarxsyiavd2iw26akwqwc"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f))  ;  FIXME: Tests require QuickCheck >= 2.9
+    (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
+              ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
+              ("ghc-hashable" ,ghc-hashable)
+              ("ghc-http-types" ,ghc-http-types)
+              ("ghc-text" ,ghc-text)
+              ("ghc-time-locale-compat" ,ghc-time-locale-compat)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)
+              ("ghc-uri-bytestring" ,ghc-uri-bytestring)
+              ("ghc-uuid-types" ,ghc-uuid-types)))
+    (home-page "https://github.com/fizruk/http-api-data")
+    (synopsis "Convert to/from HTTP API data like URL pieces, headers and
+query parameters")
+    (description "This Haskell package defines typeclasses used for converting
+Haskell data types to and from HTTP API data.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 23/37] gnu: Add ghc-persistent.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (21 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 22/37] gnu: Add ghc-http-api-data rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 24/37] gnu: Add ghc-aeson-compat rsiddharth
                   ` (14 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-persistent): New variable.
---
 gnu/packages/haskell.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 44a5664c0..18aba6a4b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9345,4 +9345,51 @@ query parameters")
 Haskell data types to and from HTTP API data.")
     (license license:bsd-3)))
 
+(define-public ghc-persistent
+  (package
+    (name "ghc-persistent")
+    (version "2.7.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "persistent-" version "/"
+                           "persistent-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1jbvavdvr9qz5ld7vf6l1jgiadhmxx6zc4vqsdk9ivfq6d5wlg1p"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-old-locale" ,ghc-old-locale)
+              ("ghc-text" ,ghc-text)
+              ("ghc-conduit" ,ghc-conduit)
+              ("ghc-resourcet" ,ghc-resourcet)
+              ("ghc-exceptions" ,ghc-exceptions)
+              ("ghc-monad-control" ,ghc-monad-control)
+              ("ghc-lifted-base" ,ghc-lifted-base)
+              ("ghc-resource-pool" ,ghc-resource-pool)
+              ("ghc-path-pieces" ,ghc-path-pieces)
+              ("ghc-http-api-data" ,ghc-http-api-data)
+              ("ghc-aeson" ,ghc-aeson)
+              ("ghc-monad-logger" ,ghc-monad-logger)
+              ("ghc-transformers-base" ,ghc-transformers-base)
+              ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)
+              ("ghc-vector" ,ghc-vector)
+              ("ghc-attoparsec" ,ghc-attoparsec)
+              ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
+              ("ghc-blaze-html" ,ghc-blaze-html)
+              ("ghc-blaze-markup" ,ghc-blaze-markup)
+              ("ghc-silently" ,ghc-silently)
+              ("ghc-mtl" ,ghc-mtl)
+              ("ghc-fast-logger" ,ghc-fast-logger)
+              ("ghc-scientific" ,ghc-scientific)
+              ("ghc-tagged" ,ghc-tagged)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)))
+    (home-page "https://www.yesodweb.com/book/persistent")
+    (synopsis "Type-safe, multi-backend data serialization for Haskell")
+    (description "This Haskell package allows Haskell programs to access data
+storage sytems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
+way.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 24/37] gnu: Add ghc-aeson-compat.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (22 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 23/37] gnu: Add ghc-persistent rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 25/37] gnu: Add ghc-persistent-template rsiddharth
                   ` (13 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-aeson-compat): New variable.
---
 gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 18aba6a4b..24b2722dd 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9392,4 +9392,39 @@ storage sytems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
 way.")
     (license license:expat)))
 
+(define-public ghc-aeson-compat
+  (package
+    (name "ghc-aeson-compat")
+    (version "0.3.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "aeson-compat-" version "/"
+                           "aeson-compat-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1jya3lm9imclhb8qqihv39hhb62vvs3qpws7pc5fc23vwg0hsx2r"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f))  ;  FIXME: Tests require QuickCheck >= 2.10
+    (inputs `(("ghc-base-compat" ,ghc-base-compat)
+              ("ghc-aeson" ,ghc-aeson)
+              ("ghc-attoparsec" ,ghc-attoparsec)
+              ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
+              ("ghc-exceptions" ,ghc-exceptions)
+              ("ghc-hashable" ,ghc-hashable)
+              ("ghc-scientific" ,ghc-scientific)
+              ("ghc-text" ,ghc-text)
+              ("ghc-time-locale-compat" ,ghc-time-locale-compat)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)
+              ("ghc-vector" ,ghc-vector)
+              ("ghc-tagged" ,ghc-tagged)
+              ("ghc-semigroups" ,ghc-semigroups)
+              ("ghc-nats" ,ghc-nats)))
+    (home-page "https://github.com/phadej/aeson-compat")
+    (synopsis "Compatibility layer for ghc-aeson")
+    (description "This Haskell package provides compatibility layer for
+ghc-aeson.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 25/37] gnu: Add ghc-persistent-template.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (23 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 24/37] gnu: Add ghc-aeson-compat rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 26/37] gnu: Add ghc-unliftio-core rsiddharth
                   ` (12 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-persistent-template): 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 24b2722dd..69308af86 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9427,4 +9427,36 @@ way.")
 ghc-aeson.")
     (license license:bsd-3)))
 
+(define-public ghc-persistent-template
+  (package
+    (name "ghc-persistent-template")
+    (version "2.5.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "persistent-template-" version "/"
+                           "persistent-template-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0449piw3n02q7dag7k1pakfmzmf3ms4wk1qmnagczpm1ckajinwd"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-persistent" ,ghc-persistent)
+              ("ghc-monad-control" ,ghc-monad-control)
+              ("ghc-text" ,ghc-text)
+              ("ghc-aeson" ,ghc-aeson)
+              ("ghc-aeson-compat" ,ghc-aeson-compat)
+              ("ghc-monad-logger" ,ghc-monad-logger)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)
+              ("ghc-tagged" ,ghc-tagged)
+              ("ghc-path-pieces" ,ghc-path-pieces)
+              ("ghc-http-api-data" ,ghc-http-api-data)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)
+                     ("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page "https://www.yesodweb.com/book/persistent")
+    (synopsis "Type-safe, non-relational, multi-backend persistence")
+    (description "This Haskell package provides interfaces and helper
+functions for the ghc-persistent package.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 26/37] gnu: Add ghc-unliftio-core.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (24 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 25/37] gnu: Add ghc-persistent-template rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 27/37] gnu: Add ghc-microlens rsiddharth
                   ` (11 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-unliftio-core): New variable.
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 69308af86..8944492ff 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9459,4 +9459,26 @@ ghc-aeson.")
 functions for the ghc-persistent package.")
     (license license:expat)))
 
+(define-public ghc-unliftio-core
+  (package
+    (name "ghc-unliftio-core")
+    (version "0.1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "unliftio-core-" version "/"
+                           "unliftio-core-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
+    (build-system haskell-build-system)
+    (home-page
+     "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
+    (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
+    (description "This Haskell package provides the core @code{MonadUnliftIO}
+typeclass, instances for base and transformers, and basic utility
+functions.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 27/37] gnu: Add ghc-microlens.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (25 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 26/37] gnu: Add ghc-unliftio-core rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 28/37] gnu: Add ghc-microlens-th rsiddharth
                   ` (10 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-microlens): New variable.
---
 gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 8944492ff..690c105a4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9481,4 +9481,29 @@ typeclass, instances for base and transformers, and basic utility
 functions.")
     (license license:expat)))
 
+(define-public ghc-microlens
+  (package
+    (name "ghc-microlens")
+    (version "0.4.8.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "microlens-" version "/"
+                           "microlens-" version ".tar.gz"))
+       (sha256
+        (base32
+         "17qx2mbqdrlnkc3gxq8njbp7qw8nh51drmz6fc8khgj9bls5ni2k"))))
+    (build-system haskell-build-system)
+    (home-page
+     "https://github.com/aelve/microlens")
+    (synopsis "Provides a tiny lens Haskell library with no dependencies")
+    (description "This Haskell package provides a lens library, just like
+@code{ghc-lens}, but smaller.  It provides essential lenses and
+traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
+nice to have (like @code{each}, @code{at}, and @code{ix}), and some
+combinators (like @code{failing} and @code{singular}), but everything else is
+stripped.  As the result, this package has no dependencies.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 28/37] gnu: Add ghc-microlens-th.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (26 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 27/37] gnu: Add ghc-microlens rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 29/37] gnu: Add ghc-unliftio rsiddharth
                   ` (9 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-microlens-th): New variable.
---
 gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 690c105a4..8ffae64e8 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9506,4 +9506,29 @@ combinators (like @code{failing} and @code{singular}), but everything else is
 stripped.  As the result, this package has no dependencies.")
     (license license:bsd-3)))
 
+(define-public ghc-microlens-th
+  (package
+    (name "ghc-microlens-th")
+    (version "0.4.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "microlens-th-" version "/"
+                           "microlens-th-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15a12cqxlgbcn1n73zwrxnp2vfm8b0ma0a0sdd8zmjbs8zy3np4f"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-microlens" ,ghc-microlens)))
+    (home-page
+     "https://github.com/aelve/microlens")
+    (synopsis "Automatic generation of record lenses for
+@code{ghc-microlens}")
+    (description "This Haskell package lets you automatically generate lenses
+for data types; code was extracted from the lens package, and therefore
+generated lenses are fully compatible with ones generated by lens (and can be
+used both from lens and microlens).")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 29/37] gnu: Add ghc-unliftio.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (27 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 28/37] gnu: Add ghc-microlens-th rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 30/37] gnu: Add ghc-persistent-sqlite rsiddharth
                   ` (8 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-unliftio): New variable.
---
 gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 8ffae64e8..4cdb4c14f 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9531,4 +9531,33 @@ generated lenses are fully compatible with ones generated by lens (and can be
 used both from lens and microlens).")
     (license license:bsd-3)))
 
+(define-public ghc-unliftio
+  (package
+    (name "ghc-unliftio")
+    (version "0.2.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/unliftio/unliftio-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0vpncmwaq5zb6bziqfns4qdgxmq8ky0rlxna2yngxp170s5zxx9z"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
+    (inputs
+     `(("ghc-async" ,ghc-async)
+       ("ghc-stm" ,ghc-stm)
+       ("ghc-unliftio-core" ,ghc-unliftio-core)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)))
+    (home-page "https://github.com/fpco/unliftio")
+    (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
+IO (batteries included)")
+    (description "This Haskell package provides the core @code{MonadUnliftIO}
+typeclass, a number of common instances, and a collection of common functions
+working with it.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 30/37] gnu: Add ghc-persistent-sqlite.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (28 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 29/37] gnu: Add ghc-unliftio rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 31/37] gnu: ghc-math-functions: Disable tests rsiddharth
                   ` (7 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-persistent-sqlite): New variable.
---
 gnu/packages/haskell.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4cdb4c14f..1705521d3 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9560,4 +9560,40 @@ typeclass, a number of common instances, and a collection of common functions
 working with it.")
     (license license:expat)))
 
+(define-public ghc-persistent-sqlite
+  (package
+    (name "ghc-persistent-sqlite")
+    (version "2.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "persistent-sqlite-" version "/"
+                           "persistent-sqlite-" version ".tar.gz"))
+       (sha256
+        (base32
+         "16mc2ra0hbyyc8ckjlxxc11bpskdymbr8c3g6ih6wzik639xprbm"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-persistent" ,ghc-persistent)
+              ("ghc-unliftio-core" ,ghc-unliftio-core)
+              ("ghc-aeson" ,ghc-aeson)
+              ("ghc-conduit" ,ghc-conduit)
+              ("ghc-monad-logger" ,ghc-monad-logger)
+              ("ghc-microlens-th" ,ghc-microlens-th)
+              ("ghc-resourcet" ,ghc-resourcet)
+              ("ghc-old-locale" ,ghc-old-locale)
+              ("ghc-resource-pool" ,ghc-resource-pool)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)
+                     ("ghc-persistent-template" ,ghc-persistent-template)
+                     ("ghc-temporary" ,ghc-temporary)
+                     ("ghc-text" ,ghc-text)))
+    (home-page
+     "https://www.yesodweb.com/book/persistent")
+    (synopsis "Backend for the persistent library using sqlite3")
+    (description "This Haskell package includes a thin sqlite3 wrapper based
+on the direct-sqlite package, as well as the entire C library, so there are no
+system dependencies.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 31/37] gnu: ghc-math-functions: Disable tests.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (29 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 30/37] gnu: Add ghc-persistent-sqlite rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 32/37] gnu: ghc-psqueues: " rsiddharth
                   ` (6 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm
(ghc-math-functions)[arguments]: Set #:tests? to #f.
---
 gnu/packages/haskell.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 1705521d3..d39921be4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8213,6 +8213,7 @@ Double.")
         (base32
          "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
     (build-system haskell-build-system)
+    (arguments `(#:tests? #f))  ; FIXME: 1 test fails.
     (inputs
      `(("ghc-vector" ,ghc-vector)
        ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 32/37] gnu: ghc-psqueues: Disable tests.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (30 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 31/37] gnu: ghc-math-functions: Disable tests rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 33/37] gnu: Add ghc-yesod-persistent rsiddharth
                   ` (5 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm
(ghc-psqueues)[arguments]: Set #:tests? to #f.
---
 gnu/packages/haskell.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d39921be4..dcad48d0d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8047,6 +8047,7 @@ bytestrings and their hexademical representation.")
         (base32
          "1dd6xv1wjxj1xinx155b14hijw8fafrg4096srzdzj7xyqq7qxbd"))))
     (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; Tests require QuickCheck < 2.10
     (inputs
      `(("ghc-hashable" ,ghc-hashable)))
     (native-inputs
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 33/37] gnu: Add ghc-yesod-persistent.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (31 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 32/37] gnu: ghc-psqueues: " rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 34/37] gnu: Add ghc-email-validate rsiddharth
                   ` (4 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-web.scm
(ghc-yesod-pesistent): New variable.
---
 gnu/packages/haskell-web.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index c6c85d8ed..77351597f 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1058,3 +1058,36 @@ avoid any issues with characters.")
 Yesod, on which other packages can be built.  It provides dispatch, handler
 functions, widgets, etc.")
     (license license:expat)))
+
+(define-public ghc-yesod-persistent
+  (package
+    (name "ghc-yesod-persistent")
+    (version "1.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "yesod-persistent-" version "/"
+                           "yesod-persistent-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0kiksw46c8ww9yiwl28pkrppx8d6fhsasr0hvmsliqbrp16likj8"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: hspec-discover not available in PATH.
+    (inputs `(("ghc-yesod-core" ,ghc-yesod-core)
+              ("ghc-persistent" ,ghc-persistent)
+              ("ghc-persistent-template" ,ghc-persistent-template)
+              ("ghc-blaze-builder" ,ghc-blaze-builder)
+              ("ghc-conduit" ,ghc-conduit)
+              ("ghc-resourcet" ,ghc-resourcet)
+              ("ghc-resource-pool" ,ghc-resource-pool)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)
+                     ("ghc-wai-extra" ,ghc-wai-extra)
+                     ("ghc-yesod-core" ,ghc-yesod-core)
+                     ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
+                     ("ghc-text" ,ghc-text)))
+    (home-page "http://www.yesodweb.com/")
+    (synopsis "Helpers for using Persistent from Yesod")
+    (description "This Haskell package provides helpers for using Persistent
+from Yesod.")
+    (license license:expat)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 34/37] gnu: Add ghc-email-validate.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (32 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 33/37] gnu: Add ghc-yesod-persistent rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 35/37] gnu: Add ghc-yesod-form rsiddharth
                   ` (3 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-email-validate): New variable.
---
 gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index dcad48d0d..89c6c77c0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9598,4 +9598,33 @@ on the direct-sqlite package, as well as the entire C library, so there are no
 system dependencies.")
     (license license:expat)))
 
+(define-public ghc-email-validate
+  (package
+    (name "ghc-email-validate")
+    (version "2.3.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/"
+             "email-validate/email-validate-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0qvxysiap3r4mi3xff5nsk9qv6diqxfgwj186bypbamzvzlz0lav"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-attoparsec" ,ghc-attoparsec)
+       ("ghc-hspec" ,ghc-hspec)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-doctest" ,ghc-doctest)))
+    (home-page
+     "https://github.com/Porges/email-validate-hs")
+    (synopsis "Email address validator for Haskell")
+    (description
+     "This Haskell package provides a validator that can validate an email
+address string against RFC 5322.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 35/37] gnu: Add ghc-yesod-form.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (33 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 34/37] gnu: Add ghc-email-validate rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 36/37] gnu: ghc-conduit-extra: Update to 1.1.14 rsiddharth
                   ` (2 subsequent siblings)
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-web.scm (ghc-yesod-form): New variable.
---
 gnu/packages/haskell-web.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 77351597f..df5bc0f21 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1091,3 +1091,46 @@ functions, widgets, etc.")
     (description "This Haskell package provides helpers for using Persistent
 from Yesod.")
     (license license:expat)))
+
+(define-public ghc-yesod-form
+    (package
+    (name "ghc-yesod-form")
+    (version "1.4.16")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/yesod-form/yesod-form-"
+               version
+               ".tar.gz"))
+        (sha256
+          (base32
+            "0lij3m5vn8nvh6y88r1dhk03xmmjwmjzazm307nc2wvc5fmx9p2j"))))
+    (build-system haskell-build-system)
+    (inputs
+      `(("ghc-yesod-core" ,ghc-yesod-core)
+        ("ghc-yesod-persistent" ,ghc-yesod-persistent)
+        ("ghc-shakespeare" ,ghc-shakespeare)
+        ("ghc-persistent" ,ghc-persistent)
+        ("ghc-data-default" ,ghc-data-default)
+        ("ghc-xss-sanitize" ,ghc-xss-sanitize)
+        ("ghc-blaze-builder" ,ghc-blaze-builder)
+        ("ghc-email-validate" ,ghc-email-validate)
+        ("ghc-text" ,ghc-text)
+        ("ghc-wai" ,ghc-wai)
+        ("ghc-blaze-html" ,ghc-blaze-html)
+        ("ghc-blaze-markup" ,ghc-blaze-markup)
+        ("ghc-attoparsec" ,ghc-attoparsec)
+        ("ghc-byteable" ,ghc-byteable)
+        ("ghc-aeson" ,ghc-aeson)
+        ("ghc-resourcet" ,ghc-resourcet)
+        ("ghc-semigroups" ,ghc-semigroups)
+        ("ghc-network-uri" ,ghc-network-uri)
+        ("ghc-hspec" ,ghc-hspec)))
+    (home-page "https://www.yesodweb.com")
+    (synopsis "Form handling support for Yesod Web Framework")
+    (description "This Haskell package provies a set of basic form inputs such
+as text, number, time, checkbox, select, textarea, etc through the
+@code{Yesod.Form.Fields} module.  Also, there is @code{Yesod.Form.Nic} module
+providing richtext field using Nic editor. ")
+    (license license:expat)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 36/37] gnu: ghc-conduit-extra: Update to 1.1.14.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (34 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 35/37] gnu: Add ghc-yesod-form rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-21  3:45 ` [bug#30892] [PATCH 37/37] gnu: Add ghc-yesod rsiddharth
  2018-03-31 17:54 ` bug#30892: [PATCH 00/37] Add ghc-yesod and its dependencies Ludovic Courtès
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell.scm (ghc-conduit-extra): Update to 1.1.14.
---
 gnu/packages/haskell.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 89c6c77c0..89d56f8ea 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6248,7 +6248,7 @@ better for some purposes.")
 (define-public ghc-conduit-extra
   (package
     (name "ghc-conduit-extra")
-    (version "1.1.13.3")
+    (version "1.1.14")
     (source
      (origin
        (method url-fetch)
@@ -6257,7 +6257,7 @@ better for some purposes.")
                            version ".tar.gz"))
        (sha256
         (base32
-         "0j3cqpkrn7lbpviv6w0gjh93fjjbh1an2sq0yz7svaawja8civy2"))))
+         "1ij3qcfk7q90fl6gklpy2k5ka9jgzrvs8frq0gy7gdcgyaabqfkg"))))
     (build-system haskell-build-system)
     (inputs
      `(("ghc-conduit" ,ghc-conduit)
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 37/37] gnu: Add ghc-yesod.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (35 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 36/37] gnu: ghc-conduit-extra: Update to 1.1.14 rsiddharth
@ 2018-03-21  3:45 ` rsiddharth
  2018-03-31 17:54 ` bug#30892: [PATCH 00/37] Add ghc-yesod and its dependencies Ludovic Courtès
  37 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-03-21  3:45 UTC (permalink / raw)
  To: 30892; +Cc: rsiddharth

* gnu/packages/haskell-web.scm (ghc-yesod): New variable.
---
 gnu/packages/haskell-web.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index df5bc0f21..1f19f82f3 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1134,3 +1134,48 @@ as text, number, time, checkbox, select, textarea, etc through the
 @code{Yesod.Form.Fields} module.  Also, there is @code{Yesod.Form.Nic} module
 providing richtext field using Nic editor. ")
     (license license:expat)))
+
+(define-public ghc-yesod
+  (package
+    (name "ghc-yesod")
+    (version "1.4.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/yesod/yesod-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1sg66nq8yaas2m5nqsdrxricvcizd1ik02zqk60sxh3wna08fz16"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-yesod-core" ,ghc-yesod-core)
+       ("ghc-yesod-persistent" ,ghc-yesod-persistent)
+       ("ghc-yesod-form" ,ghc-yesod-form)
+       ("ghc-monad-control" ,ghc-monad-control)
+       ("ghc-wai" ,ghc-wai)
+       ("ghc-wai-extra" ,ghc-wai-extra)
+       ("ghc-warp" ,ghc-warp)
+       ("ghc-blaze-html" ,ghc-blaze-html)
+       ("ghc-blaze-markup" ,ghc-blaze-markup)
+       ("ghc-aeson" ,ghc-aeson)
+       ("ghc-data-default-class" ,ghc-data-default-class)
+       ("ghc-unordered-containers" ,ghc-unordered-containers)
+       ("ghc-yaml" ,ghc-yaml)
+       ("ghc-text" ,ghc-text)
+       ("ghc-monad-logger" ,ghc-monad-logger)
+       ("ghc-fast-logger" ,ghc-fast-logger)
+       ("ghc-conduit" ,ghc-conduit)
+       ("ghc-conduit-extra" ,ghc-conduit-extra)
+       ("ghc-resourcet" ,ghc-resourcet)
+       ("ghc-shakespeare" ,ghc-shakespeare)
+       ("ghc-streaming-commons" ,ghc-streaming-commons)
+       ("ghc-wai-logger" ,ghc-wai-logger)
+       ("ghc-semigroups" ,ghc-semigroups)))
+    (home-page "https://www.yesodweb.com")
+    (synopsis "Framework for creating type-safe, RESTful web applications")
+    (description "The Haskell package package groups together the various
+Yesod related packages into one cohesive whole.  This is the version of Yesod,
+whereas most of the core code lives in @code{ghc-yesod-core}.")
+    (license license:expat)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 40+ messages in thread

* bug#30892: [PATCH 00/37] Add ghc-yesod and its dependencies.
  2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
                   ` (36 preceding siblings ...)
  2018-03-21  3:45 ` [bug#30892] [PATCH 37/37] gnu: Add ghc-yesod rsiddharth
@ 2018-03-31 17:54 ` Ludovic Courtès
  2018-04-08 14:27   ` [bug#30892] " rsiddharth
  37 siblings, 1 reply; 40+ messages in thread
From: Ludovic Courtès @ 2018-03-31 17:54 UTC (permalink / raw)
  To: rsiddharth; +Cc: 30892-done

Hello rsiddharth,

I applied the whole series (which was quite intimidating, hence the
delay ;-)) and confirmed that ‘ghc-yesod’ builds fine on my x86_64 laptop.

rsiddharth <s@ricketyspace.net> skribis:

> * Tests were disabled for:
>     - ghc-psqueues
>     - ghc-math-functions

Did you try to look closer into that?  It’d be interesting to see if
there’s a real issue here.

Anyway, thanks a lot!

Ludo’.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies.
  2018-03-31 17:54 ` bug#30892: [PATCH 00/37] Add ghc-yesod and its dependencies Ludovic Courtès
@ 2018-04-08 14:27   ` rsiddharth
  0 siblings, 0 replies; 40+ messages in thread
From: rsiddharth @ 2018-04-08 14:27 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 30892-done

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> Hello rsiddharth,
>
> I applied the whole series (which was quite intimidating, hence the
> delay ;-)) and confirmed that ‘ghc-yesod’ builds fine on my x86_64 laptop.
>
> rsiddharth <s@ricketyspace.net> skribis:
>
>> * Tests were disabled for:
>>     - ghc-psqueues
>>     - ghc-math-functions
>
> Did you try to look closer into that?  It’d be interesting to see if
> there’s a real issue here.

1. ghc-psqueues version 0.2.2.3 (current version in guix master) requires
   QuickCheck < 2.10 for tests.

   Tests successfully run for ghc-psqueues version 0.2.6.0. I've sent a
   patch[1].

   [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31096


2. One test[2] fails for ghc-math-functions. I'm not sure how to fix
   it :( Here's the build dump:

    https://ricketyspace.net/tmp/guix-build-ghc-math-functions-0.2.1.0.drv-0.tar.xz

    for you perusal.
    
   [2]: Called "incompleteBeta is expected to be precise at 32*m_epsilon level".

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2018-04-08 14:28 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21  3:40 [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 01/37] gnu: ghc-chunked-data: Update inputs rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 02/37] gnu: Add ghc-stm-chans rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 03/37] gnu: Add ghc-monad-loops rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 04/37] gnu: Add ghc-monad-logger rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 05/37] gnu: Add ghc-shakespeare rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 06/37] gnu: Add ghc-path-pieces rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 07/37] gnu: Add ghc-skein rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 08/37] gnu: Add ghc-securemem rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 09/37] gnu: Add ghc-crypto-cipher-types rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 10/37] gnu: Add ghc-crypto-cipher-tests rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 13/37] gnu: Add ghc-cprng-aes rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 15/37] gnu: Add ghc-yesod-core rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 16/37] gnu: Add ghc-resource-pool rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 17/37] gnu: Add ghc-attoparsec-iso8601 rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 18/37] gnu: Add ghc-th-lift-instances rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 19/37] gnu: Add ghc-generics-sop rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 20/37] gnu: Add ghc-uri-bytestring rsiddharth
2018-03-21  3:44 ` [bug#30892] [PATCH 21/37] gnu: Add ghc-time-locale-compat rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 22/37] gnu: Add ghc-http-api-data rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 23/37] gnu: Add ghc-persistent rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 24/37] gnu: Add ghc-aeson-compat rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 25/37] gnu: Add ghc-persistent-template rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 26/37] gnu: Add ghc-unliftio-core rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 27/37] gnu: Add ghc-microlens rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 28/37] gnu: Add ghc-microlens-th rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 29/37] gnu: Add ghc-unliftio rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 30/37] gnu: Add ghc-persistent-sqlite rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 31/37] gnu: ghc-math-functions: Disable tests rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 32/37] gnu: ghc-psqueues: " rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 33/37] gnu: Add ghc-yesod-persistent rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 34/37] gnu: Add ghc-email-validate rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 35/37] gnu: Add ghc-yesod-form rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 36/37] gnu: ghc-conduit-extra: Update to 1.1.14 rsiddharth
2018-03-21  3:45 ` [bug#30892] [PATCH 37/37] gnu: Add ghc-yesod rsiddharth
2018-03-31 17:54 ` bug#30892: [PATCH 00/37] Add ghc-yesod and its dependencies Ludovic Courtès
2018-04-08 14:27   ` [bug#30892] " rsiddharth

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.