2021-01-11 00:12:56 -08:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-04-20 13:13:21 -07:00
|
|
|
, fetchFromGitHub
|
2021-01-11 00:12:56 -08:00
|
|
|
, asn1crypto
|
|
|
|
, asysocks
|
|
|
|
, minikerberos
|
|
|
|
, prompt_toolkit
|
|
|
|
, tqdm
|
|
|
|
, winacl
|
|
|
|
, winsspi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "msldap";
|
2021-04-20 13:13:21 -07:00
|
|
|
version = "0.3.29";
|
2021-01-11 00:12:56 -08:00
|
|
|
|
2021-04-20 13:13:21 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skelsec";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-blC65xSGe2dD/g+u9+eYRwaNCv5icdUxApP3BUVOHKo=";
|
2021-01-11 00:12:56 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|