diff options
author | Marius Bakke <marius@gnu.org> | 2022-01-20 23:15:57 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-01-21 00:35:06 +0100 |
commit | 7f1e295c086c6ece11eea7a4e20792c913c222f5 (patch) | |
tree | ca5760677a97f55f9f10362295e80832a8c023d4 /gnu/packages/openldap.scm | |
parent | 0e8efe061139be8a8ed14711f9ec0937161cf566 (diff) |
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.
Diffstat (limited to 'gnu/packages/openldap.scm')
-rw-r--r-- | gnu/packages/openldap.scm | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm index 54a0571a1b..c8a47e45d5 100644 --- a/gnu/packages/openldap.scm +++ b/gnu/packages/openldap.scm @@ -211,30 +211,27 @@ an LDAP server.") (define-public python-ldap (package (name "python-ldap") - (version "3.3.1") + (version "3.4.0") (source (origin (method url-fetch) (uri (pypi-uri "python-ldap" version)) (sha256 (base32 - "198as30xy6p760niqps2zdvq2xcmr765h06pmda8fa9y077wl4a7")))) + "04hd7rdm59i7wrykx0nggzxx1p42wkm296j483yy0wayqa7lqik0")))) (build-system python-build-system) (arguments - `(#:phases + '(#:phases (modify-phases %standard-phases (add-after 'unpack 'configure-openldap-locations (lambda* (#:key inputs #:allow-other-keys) - (let ((openldap (assoc-ref inputs "openldap"))) - (setenv "SLAPD" - (string-append openldap - "/libexec/slapd")) - (setenv "SCHEMA" - (string-append openldap - "/etc/openldap/schema/"))) - #t))))) + (let ((slapd (search-input-file inputs "libexec/slapd")) + (schema (search-input-directory + inputs "etc/openldap/schema"))) + (setenv "SLAPD" slapd) + (setenv "SCHEMA" schema))))))) (inputs - (list openldap cyrus-sasl mit-krb5)) + (list openldap-2.6 cyrus-sasl mit-krb5)) (propagated-inputs (list python-pyasn1 python-pyasn1-modules)) (home-page "https://www.python-ldap.org/") |