diff options
Diffstat (limited to 'pkgs/development/python-modules/msldap/default.nix')
-rw-r--r-- | pkgs/development/python-modules/msldap/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/msldap/default.nix b/pkgs/development/python-modules/msldap/default.nix new file mode 100644 index 00000000000..649276ef252 --- /dev/null +++ b/pkgs/development/python-modules/msldap/default.nix @@ -0,0 +1,42 @@ +{ lib +, buildPythonPackage +, fetchPypi +, asn1crypto +, asysocks +, minikerberos +, prompt_toolkit +, tqdm +, winacl +, winsspi +}: + +buildPythonPackage rec { + pname = "msldap"; + version = "0.3.30"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-fX+W1Bq4F0/6DyxWeA6zvoswFQCdDpSk29g7nq1cYYE="; + }; + + propagatedBuildInputs = [ + asn1crypto + asysocks + minikerberos + prompt_toolkit + tqdm + winacl + winsspi + ]; + + # Project doesn't have tests + doCheck = false; + pythonImportsCheck = [ "msldap" ]; + + meta = with lib; { + description = "Python LDAP library for auditing MS AD"; + homepage = "https://github.com/skelsec/msldap"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |