From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:41125) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8XL-00070p-OM for guix-patches@gnu.org; Wed, 08 Jan 2020 05:26:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip8XK-0001FQ-LU for guix-patches@gnu.org; Wed, 08 Jan 2020 05:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip8XK-0001FD-Hy for guix-patches@gnu.org; Wed, 08 Jan 2020 05:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ip8XK-0005yy-EJ for guix-patches@gnu.org; Wed, 08 Jan 2020 05:26:02 -0500 Subject: [bug#39036] [PATCH] gnu: Add ghc-persistent-test. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:41108) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8XE-00070g-Ju for guix-patches@gnu.org; Wed, 08 Jan 2020 05:25:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip8XD-0001CO-Et for guix-patches@gnu.org; Wed, 08 Jan 2020 05:25:56 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:39848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip8XD-0001Bn-7d for guix-patches@gnu.org; Wed, 08 Jan 2020 05:25:55 -0500 Received: by mail-wr1-x429.google.com with SMTP id y11so2763456wrt.6 for ; Wed, 08 Jan 2020 02:25:55 -0800 (PST) From: Alexandru-Sergiu Marton Date: Wed, 8 Jan 2020 12:26:21 +0200 Message-Id: <20200108102621.22049-1-brown121407@member.fsf.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39036@debbugs.gnu.org Cc: Alexandru-Sergiu Marton * 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