nixpkgs-suyu/pkgs/development/python-modules/msldap/default.nix
2021-01-18 01:00:40 -08:00

42 lines
756 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, asn1crypto
, asysocks
, minikerberos
, prompt_toolkit
, tqdm
, winacl
, winsspi
}:
buildPythonPackage rec {
pname = "msldap";
version = "0.3.24";
src = fetchPypi {
inherit pname version;
sha256 = "0q9bhw0lfw9iykjdsqz62ipy3ihfz6kprzw5sc7v1678l2pvs84j";
};
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 ];
};
}