From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 01 23:56:16 2020 Received: (at 45000) by debbugs.gnu.org; 2 Dec 2020 04:56:16 +0000 Received: from localhost ([127.0.0.1]:33907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkKBb-0000fG-J7 for submit@debbugs.gnu.org; Tue, 01 Dec 2020 23:56:16 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:51717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkKBa-0000eU-8r for 45000@debbugs.gnu.org; Tue, 01 Dec 2020 23:56:14 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 97E4EE89; Tue, 1 Dec 2020 23:56:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 01 Dec 2020 23:56:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terracrypt.net; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=hooN7HXMiPJn+ cgNn/gKjO2Ot3b/Ksqm7h/jqlxBNXI=; b=PZOJcbtLusOm4Z/hK8IG5LMo3AwnP Xk6VOaYYpjv548KZkrWzJBvM0Oatjh3C1VzMzIkwhY9zTk1GEtsiAgR9iqfsLF09 Pfzouem9qvs5FPf5zAGhzeVt/SGvVYDVp0+IuFlhC7FqwyR9OHsIPAcTRWN3GgC6 bUQj1AgmKi6yv6k4ynMBS73UFai/IrcLoDGq1i+0Z9toqKqQFvKa6vKpP5b5akiM 89YDBlZlIGMMMP8k2V6cH0uEp8g5MQ8bBIlhVcUDXFEnyYvQkQifrOAzGrV1qFy+ xN4MDC38bv4vlOmqwXWgwOxFscobMV1+Axhkd2IuxfZ/nMPVgnE+gscag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=hooN7HXMiPJn+cgNn/gKjO2Ot3b/Ksqm7h/jqlxBNXI=; b=rLP095h6 hjFK9hBfF35Oqzac5bl3heKP9NZD78jfflr8mcTOqVfVENl1ULMi5U8ZQwLSv60u 0qL/p+pIVFVFWZIlmx2O7oThkTbOBuTy7dvNU7YT8LW/r1bDIxfSIlELppWz1HGj AqEjdm6u/mFI3+2q3oRyi/rbKEEmjn/71/X+9uxkzcZnn8N1I2xgZGm4LhPU+bko FjAaNCkwIBhFv4ZVvWAHL91a4Gx/9uLV81IJM37Q2wK6uBMXLwFB6da6kdtOxR/U DaU9YNHaD+WZ5LAW0AGem4VPZUoll1TKl5Jr7kS5QTh0oY01z7RBHHj9LPqmeg37 rE7UKZDq/KIoHQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeifedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheplfhonhgrthhhrghnucfhrhgvuggvrhhitghkshhonhcuoehj ohhnrghthhgrnhesthgvrhhrrggtrhihphhtrdhnvghtqeenucggtffrrghtthgvrhhnpe ekheegfffghefflefhuddthfefleefkedvffeggeevkeeufeekfeeiieejgeefjeenucff ohhmrghinhephhgrshhkvghllhdrohhrghdphigvshhougifvggsrdgtohhmnecukfhppe eiledrvdehfedrvdegjedrleeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepjhhonhgrthhhrghnsehtvghrrhgrtghrhihpthdrnhgvth X-ME-Proxy: Received: from lambdacrypt.lan (c-69-253-247-96.hsd1.pa.comcast.net [69.253.247.96]) by mail.messagingengine.com (Postfix) with ESMTPA id 05626240057; Tue, 1 Dec 2020 23:56:07 -0500 (EST) From: Jonathan Frederickson To: 45000@debbugs.gnu.org Subject: [PATCH 2/9] gnu: Add ghc-wai-app-static. Date: Tue, 1 Dec 2020 23:55:33 -0500 Message-Id: <20201202045540.31248-2-jonathan@terracrypt.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201202045540.31248-1-jonathan@terracrypt.net> References: <20201202045540.31248-1-jonathan@terracrypt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45000 Cc: Jonathan Frederickson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/haskell-web.scm (ghc-wai-app-static): New variable. --- gnu/packages/haskell-web.scm | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index b1ac84be08..cd9d097751 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -745,6 +745,57 @@ See also: @end itemize") (license license:bsd-3))) +(define-public ghc-wai-app-static + (package + (name "ghc-wai-app-static") + (version "3.1.7.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wai-app-static/wai-app-static-" + version + ".tar.gz")) + (sha256 + (base32 + "138gd5482psq0wbm8s1az672lksi7vbavq6ayiyjkliivf6xpry8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-wai" ,ghc-wai) + ("ghc-http-types" ,ghc-http-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-memory" ,ghc-memory) + ("ghc-http-date" ,ghc-http-date) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-zlib" ,ghc-zlib) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative) + ("ghc-warp" ,ghc-warp))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-network" ,ghc-network) + ("ghc-temporary" ,ghc-temporary) + ("ghc-mockery" ,ghc-mockery))) + (arguments + `(#:cabal-revision + ("1" + "1q7zwjasysgbp9rdp75535igd7s6mhi2bnl4pzsn6vbyfw3qnsxd"))) + (home-page + "http://www.yesodweb.com/book/web-application-interface") + (synopsis "WAI application for static serving") + (description + "WAI application for static serving. Also provides some helper functions +and datatypes for use outside of WAI.") + (license license:expat))) + (define-public ghc-wai-websockets (package (name "ghc-wai-websockets") -- 2.29.2