From 1c73e48511cf28e20eb6968f944f5341c610958a Mon Sep 17 00:00:00 2001 From: Tim Gesthuizen Date: Tue, 13 Oct 2020 14:16:58 +0200 Subject: [PATCH 1/2] gnu: Add python2-rfc6555 * gnu/packages/python-xyz.scm (python2-rfc6555): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 56c7bb84ab..6377af990a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15969,6 +15969,31 @@ validation of URIs (see RFC 3986) and IRIs (see RFC 3987).") (define-public python2-rfc3987 (package-with-python2 python-rfc3987)) +(define-public python2-rfc6555 + (package + (name "python2-rfc6555") + (version "0.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "rfc6555" version)) + (sha256 + (base32 + "05sjrd6jc0sdvx0z7d3llk82rx366jlmc7ijam0nalsv66hbn70r")))) + (build-system python-build-system) + (arguments `(#:python ,python-2)) + (native-inputs + `(("python2-pytest" ,python2-pytest) + ("python2-mock" ,python2-mock))) + (inputs + `(("python2-selectors2" ,python2-selectors2))) + (home-page "https://pypi.org/project/rfc6555/") + (synopsis "Python implementation of RFC 6555") + (description + "Python implementation of the Happy Eyeballs Algorithm described in RFC +6555. Provided with a single file and dead-simple API to allow easy vendoring +and integration into other projects.") + (license license:asl2.0))) + (define-public python-validators (package (name "python-validators") -- 2.28.0