From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2BMuHUihyl92TwAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 20:51:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uGkBGUihyl9iHgAA1q6Kng (envelope-from ) for ; Fri, 04 Dec 2020 20:51:20 +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 1D6D8940111 for ; Fri, 4 Dec 2020 20:51:20 +0000 (UTC) Received: from localhost ([::1]:35288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klI2w-0000bf-6V for larch@yhetil.org; Fri, 04 Dec 2020 15:51:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klGZp-0004pT-F9 for guix-patches@gnu.org; Fri, 04 Dec 2020 14:17:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klGZk-0003zK-9w for guix-patches@gnu.org; Fri, 04 Dec 2020 14:17:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klGZk-00006e-6A for guix-patches@gnu.org; Fri, 04 Dec 2020 14:17:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 6/9] gnu: Add ghc-yesod-static. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Dec 2020 19:17:04 +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.1607109393302 (code B ref 44954); Fri, 04 Dec 2020 19:17:04 +0000 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:33 +0000 Received: from localhost ([127.0.0.1]:45869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZF-0008WT-2x for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:33 -0500 Received: from [198.167.222.108] (port=50883 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZD-0008V8-Fg for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:31 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9b1RLPz6vXg; Fri, 4 Dec 2020 19:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109379; bh=zwkIf3wOtFBJrpQ6zMltRXWsBj21aWqXovM24XlXo30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sApbzfRFLSmzOaZY8DFYv1ckEcv1nGZv8LFN9Kb78zoRLGWE5dvse2QGzSmnXhl+n HZtsTS3GMos2eqGp95C6aspqFBVkDU9aOvRU/vDMQ78Sird6E91e5IhvAzAXzEqqvN onM2bUS7nKzEdTQr8DI95wG5WVQ456x1Jmwk+k6c= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9Z6p8bz6vXR; Fri, 4 Dec 2020 19:16:18 +0000 (UTC) From: Giacomo Leidi Date: Fri, 4 Dec 2020 20:15:42 +0100 Message-Id: <20201204191545.24772-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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.71 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=autistici.org header.s=stigmate header.b=sApbzfRF; 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-Migadu-Queue-Id: 1D6D8940111 X-Spam-Score: 3.71 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: BzJrbkhCGzg5 * gnu/packages/haskell-web.scm (ghc-yesod-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0543e5ac1a..0f173f4e9c 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2161,3 +2161,55 @@ provides some helper functions and datatypes for use outside of WAI.") out extraneous whitespace and other syntactic elements, without changing the semantics.") (license license:bsd-3))) + +(define-public ghc-yesod-static + (package + (name "ghc-yesod-static") + (version "1.6.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-static/yesod-static-" + version + ".tar.gz")) + (sha256 + (base32 + "1jd0ryfr2vyrwasyvbqmc6j4ngv1lgz78w427f169l7gyl1firxb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-cryptonite-conduit" + ,ghc-cryptonite-conduit) + ("ghc-css-text" ,ghc-css-text) + ("ghc-data-default" ,ghc-data-default) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-hashable" ,ghc-hashable) + ("ghc-hjsmin" ,ghc-hjsmin) + ("ghc-http-types" ,ghc-http-types) + ("ghc-memory" ,ghc-memory) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-app-static" ,ghc-wai-app-static) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-test" ,ghc-yesod-test) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-hunit" ,ghc-hunit) + ("ghc-rio" ,ghc-rio))) + (home-page "http://www.yesodweb.com/") + (synopsis + "Static file serving subsite for Yesod") + (description + "This package provides static file serving +subsite for Yesod Web Framework.") + (license license:expat))) -- 2.29.2