2020-04-21 11:36:07 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, twisted, ldaptor, configobj }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "privacyidea-ldap-proxy";
|
|
|
|
version = "0.6.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "privacyidea";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1kc1n9wr1a66xd5zvl6dq78xnkqkn5574jpzashc99pvm62dr24j";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted ldaptor configobj ];
|
2020-05-08 12:09:10 +00:00
|
|
|
|
|
|
|
# python 2 zope.interface test import path issues
|
2020-04-21 11:36:07 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-08 12:09:10 +00:00
|
|
|
pythonImportsCheck = [ "pi_ldapproxy" ];
|
|
|
|
|
2020-04-21 11:36:07 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "LDAP Proxy to intercept LDAP binds and authenticate against privacyIDEA";
|
|
|
|
homepage = "https://github.com/privacyidea/privacyidea-ldap-proxy";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.globin ];
|
|
|
|
};
|
|
|
|
}
|