Subject: bug#39036: closed (Re: [bug#39036] [PATCH] gnu: Add ghc-persistent-test.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 29 Mar 2020 19:23:02 +0000

Your bug report

#39036: [PATCH] gnu: Add ghc-persistent-test.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39036: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39036
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#39036] [PATCH] gnu: Add ghc-persistent-test.
From: Marius Bakke <[email-masked]>
To: Alexandru-Sergiu Marton <[email-masked]>, [email-masked]
Cc: Alexandru-Sergiu Marton <[email-masked]>
Date: Sun, 29 Mar 2020 21:22:06 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Alexandru-Sergiu Marton <[email-masked]> writes:

> * gnu/packages/haskell-xyz.scm (ghc-persistent-test): New variable.

Applied, thanks!

Subject: [PATCH] gnu: Add ghc-persistent-test.
From: Alexandru-Sergiu Marton <[email-masked]>
To: [email-masked]
Cc: Alexandru-Sergiu Marton <[email-masked]>
Date: Wed, 8 Jan 2020 12:26:21 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0b2339315e..7953759af7 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8685,6 +8685,51 @@ system dependencies.")
 functions for the ghc-persistent package.")
     (license license:expat)))
 
+(define-public ghc-persistent-test
+  (package
+    (name "ghc-persistent-test")
+    (version "2.0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/persistent-test/"
+             "persistent-test-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-aeson" ,ghc-aeson)
+       ("ghc-blaze-html" ,ghc-blaze-html)
+       ("ghc-conduit" ,ghc-conduit)
+       ("ghc-monad-control" ,ghc-monad-control)
+       ("ghc-monad-logger" ,ghc-monad-logger)
+       ("ghc-path-pieces" ,ghc-path-pieces)
+       ("ghc-persistent" ,ghc-persistent)
+       ("ghc-persistent-template" ,ghc-persistent-template)
+       ("ghc-random" ,ghc-random)
+       ("ghc-resourcet" ,ghc-resourcet)
+       ("ghc-transformers-base" ,ghc-transformers-base)
+       ("ghc-unliftio" ,ghc-unliftio)
+       ("ghc-unliftio-core" ,ghc-unliftio-core)
+       ("ghc-unordered-containers" ,ghc-unordered-containers)))
+    (native-inputs
+     `(("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
+       ("ghc-hspec" ,ghc-hspec)
+       ("ghc-hspec-expectations" ,ghc-hspec-expectations)
+       ("ghc-hunit" ,ghc-hunit)))
+    (home-page
+     "https://www.yesodweb.com/book/persistent")
+    (synopsis
+     "Tests for Persistent")
+    (description
+     "This is only for use in developing libraries that should conform to
+the persistent interface, not for users of the persistent suite of database
+libraries.")
+    (license license:expat)))
+
 (define-public ghc-pipes
   (package
     (name "ghc-pipes")
-- 
2.24.1