GNU bug report logs -
#54590
[PATCH 0/4] Update git-annex to 10.20220322
Previous Next
Reported by: Kyle Meyer <kyle <at> kyleam.com>
Date: Sun, 27 Mar 2022 03:13:02 UTC
Severity: normal
Tags: patch
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 54590 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/haskell-web.scm (ghc-http-client-restricted): New variable.
---
gnu/packages/haskell-web.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index cafdf5099e..1c2538b45e 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2019 John Soo <jsoo1 <at> asu.edu>
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
;;; Copyright © 2020 Marius Bakke <marius <at> gnu.org>
-;;; Copyright © 2020 Kyle Meyer <kyle <at> kyleam.com>
+;;; Copyright © 2020, 2022 Kyle Meyer <kyle <at> kyleam.com>
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;;
@@ -292,6 +292,34 @@ (define-public ghc-http-client-tls
libraries, such as http-conduit.")
(license license:expat)))
+(define-public ghc-http-client-restricted
+ (package
+ (name "ghc-http-client-restricted")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "http-client-restricted" version))
+ (sha256
+ (base32 "1vfm9qc3zr0rmq2ddgyg13i67020cdk8xqhyzfc2zcn1km2p6r85"))))
+ (build-system haskell-build-system)
+ (inputs
+ (list ghc-http-client
+ ghc-http-client-tls
+ ghc-connection
+ ghc-data-default
+ ghc-network
+ ghc-network-bsd
+ ghc-utf8-string))
+ (home-page "http://hackage.haskell.org/package/http-client-restricted")
+ (synopsis "Restrict the servers used by http-client")
+ (description
+ "This library makes it possible to restrict the HTTP servers that can be
+used by the @code{http-client} and @code{http-client-tls} libraries. This is
+useful when a security policy needs to, e.g., prevent connections to HTTP
+servers on localhost or only allow connections to a specific server.")
+ (license license:expat)))
+
(define-public ghc-http-date
(package
(name "ghc-http-date")
--
2.34.0
This bug report was last modified 3 years and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.