[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/30: gnu: Add python-ldap3.
From: |
guix-commits |
Subject: |
22/30: gnu: Add python-ldap3. |
Date: |
Thu, 2 Apr 2020 14:55:50 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 858f3834be5b534fb08d237d393e3ccb7a1d31f2
Author: Alex ter Weele <address@hidden>
AuthorDate: Sat Feb 29 11:12:08 2020 -0600
gnu: Add python-ldap3.
* gnu/packages/python-xyz.scm (python-ldap3): New variable.
Co-authored-by: Marius Bakke <address@hidden>
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a424cd0..d148f16 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18900,3 +18900,36 @@ enforcement of that policy.")
(description
"This is the official Python client for the Prometheus monitoring
server.")
(license license:asl2.0)))
+
+(define-public python-ldap3
+ (package
+ (name "python-ldap3")
+ (version "2.7")
+ (home-page "https://github.com/cannatag/ldap3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xw9fkqld21xsvdpaqir8ccc2l805xnn9gxahsnl70xzp3mwl0xv"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f ;TODO: Tests need a real LDAP server to run
+ #:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "nosetests" "-s" "test"))
+ #t)))))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (propagated-inputs
+ `(("python-gssapi" ,python-gssapi)
+ ("python-pyasn1" ,python-pyasn1)))
+ (synopsis "Python LDAP client")
+ (description
+ "LDAP3 is a strictly RFC 4510 conforming LDAP V3 pure Python client
+library.")
+ (license license:lgpl3+)))
- 08/30: gnu: Add xwallpaper., (continued)
- 08/30: gnu: Add xwallpaper., guix-commits, 2020/04/02
- 12/30: gnu: Add font-iosevka-term-slab., guix-commits, 2020/04/02
- 09/30: gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list., guix-commits, 2020/04/02
- 17/30: gnu: Add python-canonicaljson., guix-commits, 2020/04/02
- 14/30: services: murmur: Add missing newline in murmur-configuration., guix-commits, 2020/04/02
- 16/30: gnu: Add python-unpaddedbase64., guix-commits, 2020/04/02
- 18/30: gnu: Add python-signedjson., guix-commits, 2020/04/02
- 13/30: gnu: Add font-iosevka-term., guix-commits, 2020/04/02
- 15/30: gnu: Add python-frozendict., guix-commits, 2020/04/02
- 20/30: gnu: Add python-pymacaroons., guix-commits, 2020/04/02
- 22/30: gnu: Add python-ldap3.,
guix-commits <=
- 23/30: gnu: Add python-boltons., guix-commits, 2020/04/02
- 25/30: gnu: Add python-pem., guix-commits, 2020/04/02
- 27/30: gnu: Add python-txacme., guix-commits, 2020/04/02
- 19/30: gnu: Add python-daemonize., guix-commits, 2020/04/02
- 24/30: gnu: Add python-eliot., guix-commits, 2020/04/02
- 28/30: gnu: Add python-pysaml2., guix-commits, 2020/04/02
- 29/30: gnu: Add python-matrix-synapse-ldap3., guix-commits, 2020/04/02
- 26/30: gnu: Add python-txsni., guix-commits, 2020/04/02
- 30/30: gnu: Add synapse., guix-commits, 2020/04/02
- 21/30: gnu: Add python-prometheus-client., guix-commits, 2020/04/02