From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6HRmGQsixF9mWgAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 22:34:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GOIsFQsixF9tZAAAB5/wlQ (envelope-from ) for ; Sun, 29 Nov 2020 22:34:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2D8339401BC for ; Sun, 29 Nov 2020 22:34:51 +0000 (UTC) Received: from localhost ([::1]:35268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHN-00005L-Ul for larch@yhetil.org; Sun, 29 Nov 2020 17:34:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VM-0z for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGd-0005cG-BR for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGd-0002Ul-7L for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 03/12] gnu: Add ghc-yesod-test. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892029424 (code B ref 44954); Sun, 29 Nov 2020 22:34:03 +0000 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:22 +0000 Received: from localhost ([127.0.0.1]:52843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFx-0002Rj-El for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:22 -0500 Received: from latitanza.investici.org ([82.94.249.234]:55943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFv-0002R3-9f for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:19 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnB5nVJz8sgp; Sun, 29 Nov 2020 22:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689198; bh=ahiEw+0lOi3jCkadlamEPRleTnBa/O4KNvwr4XtftDM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IVM1hb1fSQucvt5wOWUCVz1I/Frcj7zTpxQ+6dEBRRS7H6kE4ESoLwZbcrAYDOn/3 g3ttTqOWFIFFXVOuWpYpmdMTsQmIkvZm7VERGDsOhbsNDjUe5dUrzxfvLiglXkaXU5 RkVvCWNVbZrX0vR3yuLGUojTjdkJiaquhriGsCNM= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnB3v0Dz8sgL; Sun, 29 Nov 2020 22:33:18 +0000 (UTC) From: Giacomo Leidi Date: Sun, 29 Nov 2020 23:32:52 +0100 Message-Id: <20201129223301.19210-3-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.72 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=autistici.org header.s=stigmate header.b=IVM1hb1f; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-TUID: MVn+90pNVnWy * gnu/packages/haskell-web.scm (ghc-yesod-test): New variable. --- gnu/packages/haskell-web.scm | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 589d2d3e11..a186779e72 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2024,3 +2024,56 @@ Bower's package manifest file, bower.json.") Authoring and Versioning (WebDAV) extensions to HTTP as well an executable, @command{hdav}, for command-line operation.") (license license:gpl3))) + +(define-public ghc-yesod-test + (package + (name "ghc-yesod-test") + (version "1.6.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-test/yesod-test-" + version + ".tar.gz")) + (sha256 + (base32 + "0vw6yg5b22a6flbl822z23k0l23as5mmxjcdnj2zgjjv5i713yfx")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-aeson" ,ghc-aeson) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cookie" ,ghc-cookie) + ("ghc-hspec-core" ,ghc-hspec-core) + ("ghc-html-conduit" ,ghc-html-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-network" ,ghc-network) + ("ghc-memory" ,ghc-memory) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-xml-conduit" ,ghc-xml-conduit) + ("ghc-xml-types" ,ghc-xml-types) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unliftio-core" ,ghc-unliftio-core))) + (home-page "http://www.yesodweb.com") + (synopsis + "Integration testing for WAI/Yesod Applications") + (description + "This package's main goal is to encourage integration +and system testing of web applications by making everything +easy to test. Tests are like browser sessions that +keep track of cookies and the last visited page. You +can perform assertions on the content of HTML responses +using CSS selectors.") + (license license:expat))) -- 2.29.2