GNU bug report logs - #38891
[PATCH] gnu: Add ghc-http-reverse-proxy.

Previous Next

Package: guix-patches;

Reported by: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>

Date: Fri, 3 Jan 2020 11:28:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.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 38891 in the body.
You can then email your comments to 38891 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#38891; Package guix-patches. (Fri, 03 Jan 2020 11:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandru-Sergiu Marton <brown121407 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 03 Jan 2020 11:28:02 GMT) Full text and rfc822 format available.

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

From: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
Subject: [PATCH] gnu: Add ghc-http-reverse-proxy.
Date: Fri,  3 Jan 2020 13:28:00 +0200
* gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable.
---
 gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 5888e8542e..f0dd72cdcf 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2019 Robert Vollmert <rob <at> vllmrt.net>
 ;;; Copyright © 2019 John Soo <jsoo1 <at> asu.edu>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -377,6 +378,48 @@ contents of the HTTP connection.  It also provides higher-level functions
 which allow you to avoid direct usage of conduits.")
     (license license:bsd-3)))
 
+(define-public ghc-http-reverse-proxy
+  (package
+    (name "ghc-http-reverse-proxy")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/http-reverse-proxy/"
+             "http-reverse-proxy-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-case-insensitive" ,ghc-case-insensitive)
+       ("ghc-http-types" ,ghc-http-types)
+       ("ghc-word8" ,ghc-word8)
+       ("ghc-blaze-builder" ,ghc-blaze-builder)
+       ("ghc-http-client" ,ghc-http-client)
+       ("ghc-wai" ,ghc-wai)
+       ("ghc-network" ,ghc-network)
+       ("ghc-conduit" ,ghc-conduit)
+       ("ghc-conduit-extra" ,ghc-conduit-extra)
+       ("ghc-wai-logger" ,ghc-wai-logger)
+       ("ghc-resourcet" ,ghc-resourcet)
+       ("ghc-unliftio" ,ghc-unliftio)
+       ("ghc-streaming-commons" ,ghc-streaming-commons)))
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("ghc-warp" ,ghc-warp)
+       ("ghc-http-conduit" ,ghc-http-conduit)))
+    (home-page
+     "https://github.com/fpco/http-reverse-proxy")
+    (synopsis
+     "Reverse proxy HTTP requests, either over raw sockets or with WAI")
+    (description
+     "Provides a simple means of reverse-proxying HTTP requests. The raw
+approach uses the same technique as leveraged by keter, whereas the WAI
+approach performs full request/response parsing via WAI and http-conduit.")
+    (license license:bsd-3)))
+
 (define-public ghc-wai
   (package
     (name "ghc-wai")
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#38891; Package guix-patches. (Sat, 04 Jan 2020 04:30:02 GMT) Full text and rfc822 format available.

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

From: Brett Gilio <brettg <at> gnu.org>
To: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
Cc: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>, 38891 <at> debbugs.gnu.org
Subject: Re: [bug#38891] [PATCH] gnu: Add ghc-http-reverse-proxy.
Date: Fri, 03 Jan 2020 22:29:03 -0600
Alexandru-Sergiu Marton <brown121407 <at> gmail.com> writes:

> * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable.
> ---
>  gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>
> diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
> index 5888e8542e..f0dd72cdcf 100644
> --- a/gnu/packages/haskell-web.scm
> +++ b/gnu/packages/haskell-web.scm
> @@ -7,6 +7,7 @@
>  ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
>  ;;; Copyright © 2019 Robert Vollmert <rob <at> vllmrt.net>
>  ;;; Copyright © 2019 John Soo <jsoo1 <at> asu.edu>
> +;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -377,6 +378,48 @@ contents of the HTTP connection.  It also provides higher-level functions
>  which allow you to avoid direct usage of conduits.")
>      (license license:bsd-3)))
>  
> +(define-public ghc-http-reverse-proxy
> +  (package
> +    (name "ghc-http-reverse-proxy")
> +    (version "0.6.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://hackage.haskell.org/package/http-reverse-proxy/"
> +             "http-reverse-proxy-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v"))))
> +    (build-system haskell-build-system)
> +    (inputs
> +     `(("ghc-case-insensitive" ,ghc-case-insensitive)
> +       ("ghc-http-types" ,ghc-http-types)
> +       ("ghc-word8" ,ghc-word8)
> +       ("ghc-blaze-builder" ,ghc-blaze-builder)
> +       ("ghc-http-client" ,ghc-http-client)
> +       ("ghc-wai" ,ghc-wai)
> +       ("ghc-network" ,ghc-network)
> +       ("ghc-conduit" ,ghc-conduit)
> +       ("ghc-conduit-extra" ,ghc-conduit-extra)
> +       ("ghc-wai-logger" ,ghc-wai-logger)
> +       ("ghc-resourcet" ,ghc-resourcet)
> +       ("ghc-unliftio" ,ghc-unliftio)
> +       ("ghc-streaming-commons" ,ghc-streaming-commons)))
> +    (native-inputs
> +     `(("ghc-hspec" ,ghc-hspec)
> +       ("ghc-warp" ,ghc-warp)
> +       ("ghc-http-conduit" ,ghc-http-conduit)))
> +    (home-page
> +     "https://github.com/fpco/http-reverse-proxy")
> +    (synopsis
> +     "Reverse proxy HTTP requests, either over raw sockets or with WAI")
> +    (description
> +     "Provides a simple means of reverse-proxying HTTP requests. The raw
> +approach uses the same technique as leveraged by keter, whereas the WAI
> +approach performs full request/response parsing via WAI and http-conduit.")
> +    (license license:bsd-3)))
> +
>  (define-public ghc-wai
>    (package
>      (name "ghc-wai")

Hey again! Similarly with this one, we need to ensure that we are double
spacing after each punctuation in the description. :) Thanks for dealing
with our pickiness!

-- 
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<brettg <at> gnu.org> <brettg <at> posteo.net>




Information forwarded to guix-patches <at> gnu.org:
bug#38891; Package guix-patches. (Sat, 04 Jan 2020 08:52:02 GMT) Full text and rfc822 format available.

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

From: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
To: 38891 <at> debbugs.gnu.org
Cc: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
Subject: [PATCH v2] gnu: Add ghc-http-reverse-proxy.
Date: Sat,  4 Jan 2020 10:52:06 +0200
* gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable.
---
Fix linter errors.

 gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 5888e8542e..bf96ca88ca 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2019 Robert Vollmert <rob <at> vllmrt.net>
 ;;; Copyright © 2019 John Soo <jsoo1 <at> asu.edu>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -377,6 +378,48 @@ contents of the HTTP connection.  It also provides higher-level functions
 which allow you to avoid direct usage of conduits.")
     (license license:bsd-3)))
 
+(define-public ghc-http-reverse-proxy
+  (package
+    (name "ghc-http-reverse-proxy")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/http-reverse-proxy/"
+             "http-reverse-proxy-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-case-insensitive" ,ghc-case-insensitive)
+       ("ghc-http-types" ,ghc-http-types)
+       ("ghc-word8" ,ghc-word8)
+       ("ghc-blaze-builder" ,ghc-blaze-builder)
+       ("ghc-http-client" ,ghc-http-client)
+       ("ghc-wai" ,ghc-wai)
+       ("ghc-network" ,ghc-network)
+       ("ghc-conduit" ,ghc-conduit)
+       ("ghc-conduit-extra" ,ghc-conduit-extra)
+       ("ghc-wai-logger" ,ghc-wai-logger)
+       ("ghc-resourcet" ,ghc-resourcet)
+       ("ghc-unliftio" ,ghc-unliftio)
+       ("ghc-streaming-commons" ,ghc-streaming-commons)))
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("ghc-warp" ,ghc-warp)
+       ("ghc-http-conduit" ,ghc-http-conduit)))
+    (home-page
+     "https://github.com/fpco/http-reverse-proxy")
+    (synopsis
+     "Reverse proxy HTTP requests, either over raw sockets or with WAI")
+    (description
+     "Provides a simple means of reverse-proxying HTTP requests.  The raw
+approach uses the same technique as leveraged by keter, whereas the WAI
+approach performs full request/response parsing via WAI and http-conduit.")
+    (license license:bsd-3)))
+
 (define-public ghc-wai
   (package
     (name "ghc-wai")
-- 
2.24.1





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Fri, 20 Nov 2020 20:35:01 GMT) Full text and rfc822 format available.

Notification sent to Alexandru-Sergiu Marton <brown121407 <at> gmail.com>:
bug acknowledged by developer. (Fri, 20 Nov 2020 20:35:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
Cc: 38891-done <at> debbugs.gnu.org
Subject: Re: [bug#38891] [PATCH v2] gnu: Add ghc-http-reverse-proxy.
Date: Fri, 20 Nov 2020 20:34:09 +0000
[Message part 1 (text/plain, inline)]
Alexandru-Sergiu Marton <brown121407 <at> gmail.com> writes:

> * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable.
> ---
> Fix linter errors.
>
>  gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>
> diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
> index 5888e8542e..bf96ca88ca 100644
> --- a/gnu/packages/haskell-web.scm
> +++ b/gnu/packages/haskell-web.scm
> @@ -7,6 +7,7 @@
>  ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
>  ;;; Copyright © 2019 Robert Vollmert <rob <at> vllmrt.net>
>  ;;; Copyright © 2019 John Soo <jsoo1 <at> asu.edu>
> +;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -377,6 +378,48 @@ contents of the HTTP connection.  It also provides higher-level functions
>  which allow you to avoid direct usage of conduits.")
>      (license license:bsd-3)))
>  
> +(define-public ghc-http-reverse-proxy
> +  (package
> +    (name "ghc-http-reverse-proxy")
> +    (version "0.6.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://hackage.haskell.org/package/http-reverse-proxy/"
> +             "http-reverse-proxy-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v"))))
> +    (build-system haskell-build-system)
> +    (inputs
> +     `(("ghc-case-insensitive" ,ghc-case-insensitive)
> +       ("ghc-http-types" ,ghc-http-types)
> +       ("ghc-word8" ,ghc-word8)
> +       ("ghc-blaze-builder" ,ghc-blaze-builder)
> +       ("ghc-http-client" ,ghc-http-client)
> +       ("ghc-wai" ,ghc-wai)
> +       ("ghc-network" ,ghc-network)
> +       ("ghc-conduit" ,ghc-conduit)
> +       ("ghc-conduit-extra" ,ghc-conduit-extra)
> +       ("ghc-wai-logger" ,ghc-wai-logger)
> +       ("ghc-resourcet" ,ghc-resourcet)
> +       ("ghc-unliftio" ,ghc-unliftio)
> +       ("ghc-streaming-commons" ,ghc-streaming-commons)))
> +    (native-inputs
> +     `(("ghc-hspec" ,ghc-hspec)
> +       ("ghc-warp" ,ghc-warp)
> +       ("ghc-http-conduit" ,ghc-http-conduit)))
> +    (home-page
> +     "https://github.com/fpco/http-reverse-proxy")
> +    (synopsis
> +     "Reverse proxy HTTP requests, either over raw sockets or with WAI")
> +    (description
> +     "Provides a simple means of reverse-proxying HTTP requests.  The raw
> +approach uses the same technique as leveraged by keter, whereas the WAI
> +approach performs full request/response parsing via WAI and http-conduit.")
> +    (license license:bsd-3)))
> +
>  (define-public ghc-wai
>    (package
>      (name "ghc-wai")

Looks good to me, sorry for the long delay!

I've gone ahead and pushed to master as
7e5580bd81ca6586268fe49fcf4aec0153d160d4.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 3 years and 122 days ago.

Previous Next


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