Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 27 lines 769 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, twisted, ldaptor, configobj }: 2 3buildPythonPackage rec { 4 pname = "privacyidea-ldap-proxy"; 5 version = "0.6.1"; 6 7 src = fetchFromGitHub { 8 owner = "privacyidea"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1kc1n9wr1a66xd5zvl6dq78xnkqkn5574jpzashc99pvm62dr24j"; 12 }; 13 14 propagatedBuildInputs = [ twisted ldaptor configobj ]; 15 16 # python 2 zope.interface test import path issues 17 doCheck = false; 18 19 pythonImportsCheck = [ "pi_ldapproxy" ]; 20 21 meta = with lib; { 22 description = "LDAP Proxy to intercept LDAP binds and authenticate against privacyIDEA"; 23 homepage = "https://github.com/privacyidea/privacyidea-ldap-proxy"; 24 license = licenses.agpl3; 25 maintainers = [ maintainers.globin ]; 26 }; 27}