From patchwork Wed Dec 4 07:34:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brett Gilio X-Patchwork-Id: 16373 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5AC6017840; Wed, 4 Dec 2019 07:59:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 152E81783E for ; Wed, 4 Dec 2019 07:59:47 +0000 (GMT) Received: from localhost ([::1]:35024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icPZa-0000fX-L7 for patchwork@mira.cbaines.net; Wed, 04 Dec 2019 02:59:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45074) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icPBf-000343-UZ for guix-patches@gnu.org; Wed, 04 Dec 2019 02:35:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icPBe-0004wo-HC for guix-patches@gnu.org; Wed, 04 Dec 2019 02:35:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35405) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icPBe-0004vh-Bl for guix-patches@gnu.org; Wed, 04 Dec 2019 02:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1icPBe-0005oA-7d for guix-patches@gnu.org; Wed, 04 Dec 2019 02:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38488] [PATCH 2/2] gnu: Add ghc-happstack-server. References: <871rtkr1g8.fsf@posteo.net> In-Reply-To: <871rtkr1g8.fsf@posteo.net> Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Dec 2019 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38488 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38488@debbugs.gnu.org Received: via spool by 38488-submit@debbugs.gnu.org id=B38488.157544487522283 (code B ref 38488); Wed, 04 Dec 2019 07:35:02 +0000 Received: (at 38488) by debbugs.gnu.org; 4 Dec 2019 07:34:35 +0000 Received: from localhost ([127.0.0.1]:41377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icPBC-0005nL-UG for submit@debbugs.gnu.org; Wed, 04 Dec 2019 02:34:35 -0500 Received: from mout01.posteo.de ([185.67.36.65]:53751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icPBA-0005n5-QB for 38488@debbugs.gnu.org; Wed, 04 Dec 2019 02:34:33 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9185D16005C for <38488@debbugs.gnu.org>; Wed, 4 Dec 2019 08:34:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1575444866; bh=R9SZuPc4r4VZ9Ij0hQY4thgDgkcBjAFK//0rMbeF1Yg=; h=From:To:Subject:Date:From; b=chiZlpjTiulQKKefkR/1d3z4JTvtUhSXfWkAov7co7ipakOADAdL9uquzQYd9GJ4R Cmm1CjDSjpdJgPQkhjoQ5mh72T7RILrXt1qwDmZ6FcNtFP3GqvjKkCxwVg68pmJe5Y J96f0owfGLO83mffInOqsfn5wzmMpT1NJMB7k6UgQwbZ64Jsxf5i8jPD1IZN0AMVnb ozeKX+b0JzrzwuLDbydD8ksZCTesP2Fjsw7jhexowF/6CQpVs6bGEERslTrm4Y7hbG 7//UdnJEqRqNK3sL159on9/7JH/xXOb6zu+KN6/I2TbliO9hzDjb269ByYvbFGkmmn 6GL82gW2622nw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47SVwd2RkFz6tmG for <38488@debbugs.gnu.org>; Wed, 4 Dec 2019 08:34:25 +0100 (CET) From: Brett Gilio Date: Wed, 04 Dec 2019 01:34:21 -0600 Message-ID: <87v9qwpmrm.fsf@posteo.net> MIME-Version: 1.0 Content-Disposition: inline; filename=0002-gnu-Add-ghc-happstack-server.patch Content-Description: [PATCH 2/2] gnu: Add ghc-happstack-server. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From cf5229f98030e835dd687b933713dc1a10d7ce92 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Wed, 4 Dec 2019 01:29:38 -0600 Subject: [PATCH 2/2] gnu: Add ghc-happstack-server. * gnu/packages/haskell-web.scm (ghc-happstack-server): New variable. --- gnu/packages/haskell-web.scm | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 6098ad5759..5888e8542e 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1527,6 +1527,53 @@ The first three components of the version number match the upstream flot version. The package is designed to meet the redistribution requirements of downstream users (e.g. Debian).") (license license:expat))) + +(define-public ghc-happstack-server + (package + (name "ghc-happstack-server") + (version "7.5.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/happstack-server/happstack-server-" + version ".tar.gz")) + (sha256 + (base32 + "0i7csvmwv7n68gkwqzi985p2mjdgzipjnlj873sdiknhx9pfmq70")))) + (build-system haskell-build-system) + (inputs + `(("ghc-network" ,ghc-network) + ("ghc-network-bsd" ,ghc-network-bsd) + ("ghc-network-uri" ,ghc-network-uri) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-extensible-exceptions" + ,ghc-extensible-exceptions) + ("ghc-hslogger" ,ghc-hslogger) + ("ghc-html" ,ghc-html) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-sendfile" ,ghc-sendfile) + ("ghc-system-filepath" ,ghc-system-filepath) + ("ghc-syb" ,ghc-syb) + ("ghc-threads" ,ghc-threads) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-transformers-compat" + ,ghc-transformers-compat) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-zlib" ,ghc-zlib))) + (native-inputs `(("ghc-hunit" ,ghc-hunit))) + (home-page "http://happstack.com") + (synopsis "Web related tools and services for Haskell") + (description + "Happstack Server provides an HTTP server and a rich set of functions for +routing requests, handling query parameters, generating responses, working with +cookies, serving files, and more.") + (license license:bsd-3))) + (define-public ghc-sendfile (package (name "ghc-sendfile") -- 2.24.0