43 lines
768 B
Nix
43 lines
768 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, asn1crypto
|
|
, asysocks
|
|
, minikerberos
|
|
, prompt_toolkit
|
|
, tqdm
|
|
, winacl
|
|
, winsspi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "msldap";
|
|
version = "0.3.25";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b5ef61c4f05493cfe78b3f955878a3d0a71950eead5ebb484282f07456a47bea";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|