2021-10-17 09:34:42 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, twisted, ldaptor, configobj }:
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "privacyidea-ldap-proxy";
|
2021-10-17 09:34:42 +00:00
|
|
|
version = "0.6.2";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "privacyidea";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-17 09:34:42 +00:00
|
|
|
sha256 = "sha256-U2lg4zDQKn9FQ7O0zSLaijIkXKVjg8wi2ItueF4ACDU=";
|
2020-05-15 21:57:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted ldaptor configobj ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pi_ldapproxy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "LDAP Proxy to intercept LDAP binds and authenticate against privacyIDEA";
|
|
|
|
homepage = "https://github.com/privacyidea/privacyidea-ldap-proxy";
|
2021-10-17 09:34:42 +00:00
|
|
|
license = licenses.agpl3Only;
|
2020-05-15 21:57:56 +00:00
|
|
|
maintainers = [ maintainers.globin ];
|
|
|
|
};
|
|
|
|
}
|