From f56af1a76217dba56249aff64559e228d68218bf Mon Sep 17 00:00:00 2001 From: Alex ter Weele Date: Sat, 29 Feb 2020 11:12:08 -0600 Subject: [PATCH 08/16] gnu: Add python-ldap3. * gnu/packages/python-xyz.scm (python-ldap3): New variable. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bf34511bc3..1cabc8ecaa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18905,3 +18905,27 @@ enforcement of that policy.") (synopsis "Prometheus instrumentation library for Python applications") (description "The official Python 2 and 3 client for Prometheus.") (license license:asl2.0))) + +(define-public python-ldap3 + (package + (name "python-ldap3") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ldap3" version)) + (sha256 + (base32 "0ag5xqlki6pjk3f50b8ar8vynx2fmkna7rfampv3kdgwg8z6gjr7")))) + (build-system python-build-system) + (arguments + ;; TODO "ImportError: Failed to import test module: ordDict" + `(#:tests? #f)) + (propagated-inputs + `(("python-pyasn1" ,python-pyasn1) + ("python-gssapi" ,python-gssapi))) + (home-page "https://github.com/cannatag/ldap3") + (synopsis "Strictly RFC 4510 conforming LDAP V3 pure Python client") + (description + "LDAP3 is a strictly RFC 4510 conforming LDAP V3 pure Python client +library. The same codebase runs in Python 2, Python 3, PyPy and PyPy3.") + (license license:lgpl3+))) -- 2.25.2