Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / privacyidea / ldap-proxy.nix
blob25a81510c7dce62b60c22583b52639fca508e2c4
1 { lib, buildPythonPackage, isPy3k, fetchFromGitHub, twisted, ldaptor, configobj }:
3 buildPythonPackage rec {
4   pname = "privacyidea-ldap-proxy";
5   version = "0.6.1";
7   # https://github.com/privacyidea/privacyidea-ldap-proxy/issues/50
8   disabled = isPy3k;
10   src = fetchFromGitHub {
11     owner = "privacyidea";
12     repo = pname;
13     rev = "v${version}";
14     sha256 = "1kc1n9wr1a66xd5zvl6dq78xnkqkn5574jpzashc99pvm62dr24j";
15   };
17   propagatedBuildInputs = [ twisted ldaptor configobj ];
19   # python 2 zope.interface test import path issues
20   doCheck = false;
22   pythonImportsCheck = [ "pi_ldapproxy" ];
24   meta = with lib; {
25     description = "LDAP Proxy to intercept LDAP binds and authenticate against privacyIDEA";
26     homepage = "https://github.com/privacyidea/privacyidea-ldap-proxy";
27     license = licenses.agpl3;
28     maintainers = [ maintainers.globin ];
29   };