c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
51 lines
853 B
Nix
51 lines
853 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, asn1crypto
|
|
, asyauth
|
|
, asysocks
|
|
, minikerberos
|
|
, prompt-toolkit
|
|
, tqdm
|
|
, winacl
|
|
, winsspi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "msldap";
|
|
version = "0.4.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-iiAtylJIzcfNyh1d92wA1oOYk7UWdD/F0sWtlAMMv2g=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
asn1crypto
|
|
asyauth
|
|
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 ];
|
|
};
|
|
}
|