Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 30 lines 867 B view raw
1{ lib, buildPythonPackage, isPy3k, fetchFromGitHub, twisted, ldaptor, configobj }: 2 3buildPythonPackage rec { 4 pname = "privacyidea-ldap-proxy"; 5 version = "0.6.1"; 6 7 # https://github.com/privacyidea/privacyidea-ldap-proxy/issues/50 8 disabled = isPy3k; 9 10 src = fetchFromGitHub { 11 owner = "privacyidea"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "1kc1n9wr1a66xd5zvl6dq78xnkqkn5574jpzashc99pvm62dr24j"; 15 }; 16 17 propagatedBuildInputs = [ twisted ldaptor configobj ]; 18 19 # python 2 zope.interface test import path issues 20 doCheck = false; 21 22 pythonImportsCheck = [ "pi_ldapproxy" ]; 23 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 }; 30}