me
/
guix
Archived
1
0
Fork 0

gnu: python-ldap: Update to 3.4.0.

* gnu/packages/openldap.scm (python-ldap): Update to 3.4.0.
[arguments]: Remove input labels.
[inputs]: Change from OPENLDAP to OPENLDAP-2.6.
Marius Bakke 2022-01-20 23:15:57 +01:00
parent 0e8efe0611
commit 7f1e295c08
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 12 deletions

View File

@ -211,30 +211,27 @@ an LDAP server.")
(define-public python-ldap (define-public python-ldap
(package (package
(name "python-ldap") (name "python-ldap")
(version "3.3.1") (version "3.4.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-ldap" version)) (uri (pypi-uri "python-ldap" version))
(sha256 (sha256
(base32 (base32
"198as30xy6p760niqps2zdvq2xcmr765h06pmda8fa9y077wl4a7")))) "04hd7rdm59i7wrykx0nggzxx1p42wkm296j483yy0wayqa7lqik0"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'configure-openldap-locations (add-after 'unpack 'configure-openldap-locations
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((openldap (assoc-ref inputs "openldap"))) (let ((slapd (search-input-file inputs "libexec/slapd"))
(setenv "SLAPD" (schema (search-input-directory
(string-append openldap inputs "etc/openldap/schema")))
"/libexec/slapd")) (setenv "SLAPD" slapd)
(setenv "SCHEMA" (setenv "SCHEMA" schema)))))))
(string-append openldap
"/etc/openldap/schema/")))
#t)))))
(inputs (inputs
(list openldap cyrus-sasl mit-krb5)) (list openldap-2.6 cyrus-sasl mit-krb5))
(propagated-inputs (propagated-inputs
(list python-pyasn1 python-pyasn1-modules)) (list python-pyasn1 python-pyasn1-modules))
(home-page "https://www.python-ldap.org/") (home-page "https://www.python-ldap.org/")