1 { lib, buildPythonPackage, fetchFromGitHub, twisted, ldaptor, configobj, fetchpatch }:
3 buildPythonPackage rec {
4 pname = "privacyidea-ldap-proxy";
7 src = fetchFromGitHub {
11 sha256 = "1i2kgxqd38xvb42qj0a4a35w4vk0fyp3n7w48kqmvrxc77p6r6i8";
15 # support for LDAPCompareRequest.
17 url = "https://github.com/mayflower/privacyidea-ldap-proxy/commit/a13356717379b174f1a6abf767faa0dbd459f5dd.patch";
18 sha256 = "sha256-SBTj9ayQ8JFD8BoYIl77nxWVV3PXnHZ8JMlJnxd/nEk=";
22 propagatedBuildInputs = [ twisted ldaptor configobj ];
24 pythonImportsCheck = [ "pi_ldapproxy" ];
27 description = "LDAP Proxy to intercept LDAP binds and authenticate against privacyIDEA";
28 homepage = "https://github.com/privacyidea/privacyidea-ldap-proxy";
29 license = licenses.agpl3Only;
30 maintainers = [ maintainers.globin ];