GNU bug report logs - #38488
[PATCH] GHC-HAPPSTACK-SERVER

Previous Next

Package: guix-patches;

Reported by: Brett Gilio <brettg <at> posteo.net>

Date: Wed, 4 Dec 2019 07:33:01 UTC

Severity: normal

Tags: patch

Done: Brett Gilio <brettg <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38488 in the body.
You can then email your comments to 38488 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38488; Package guix-patches. (Wed, 04 Dec 2019 07:33:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brett Gilio <brettg <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 04 Dec 2019 07:33:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> posteo.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] GHC-HAPPSTACK-SERVER
Date: Wed, 04 Dec 2019 01:31:51 -0600
This patch series introduces two new variables.
-- ghc-sendfile
-- ghc-happstack-server

ghc-sendfile was added as a necessary input for ghc-happstack-server.

Let me know what you all think!

-- 
Brett M. Gilio
https://git.sr.ht/~brettgilio/




Information forwarded to guix-patches <at> gnu.org:
bug#38488; Package guix-patches. (Wed, 04 Dec 2019 07:35:01 GMT) Full text and rfc822 format available.

Message #8 received at 38488 <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> posteo.net>
To: 38488 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add ghc-sendfile.
Date: Wed, 04 Dec 2019 01:34:07 -0600
[0001-gnu-Add-ghc-sendfile.patch (text/x-patch, inline)]
From bef2ec92972c3fbef7558edc9d9ba37d7ca98d68 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg <at> posteo.net>
Date: Wed, 4 Dec 2019 01:29:20 -0600
Subject: [PATCH 1/2] gnu: Add ghc-sendfile.

* gnu/packages/haskell-web.scm (ghc-sendfile): New variable.
---
 gnu/packages/haskell-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 1672170131..6098ad5759 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1527,3 +1527,24 @@ 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-sendfile
+  (package
+    (name "ghc-sendfile")
+    (version "0.7.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/sendfile/sendfile-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0988snmx3bylpw3kcq8hsgji8idc6xcrcfp275qjv3apfdgc9rp0"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-network" ,ghc-network)))
+    (home-page
+     "https://hub.darcs.net/stepcut/sendfile")
+    (synopsis "Portable sendfile library for Haskell")
+    (description
+     "Haskell library which exposes zero-copy sendfile functionality in a portable way.")
+    (license license:bsd-3)))
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38488; Package guix-patches. (Wed, 04 Dec 2019 07:35:02 GMT) Full text and rfc822 format available.

Message #11 received at 38488 <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> posteo.net>
To: 38488 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add ghc-happstack-server.
Date: Wed, 04 Dec 2019 01:34:21 -0600
[0002-gnu-Add-ghc-happstack-server.patch (text/x-patch, inline)]
From cf5229f98030e835dd687b933713dc1a10d7ce92 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg <at> posteo.net>
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





Reply sent to Brett Gilio <brettg <at> posteo.net>:
You have taken responsibility. (Fri, 06 Dec 2019 22:04:01 GMT) Full text and rfc822 format available.

Notification sent to Brett Gilio <brettg <at> posteo.net>:
bug acknowledged by developer. (Fri, 06 Dec 2019 22:04:02 GMT) Full text and rfc822 format available.

Message #16 received at 38488-done <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> posteo.net>
To: 38488-done <at> debbugs.gnu.org
Subject: Re: [bug#38488] [PATCH] GHC-HAPPSTACK-SERVER
Date: Fri, 06 Dec 2019 16:03:08 -0600
close




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Jan 2020 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.