5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
52 lines
930 B
Nix
52 lines
930 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, asn1crypto
|
|
, asyauth
|
|
, asysocks
|
|
, minikerberos
|
|
, prompt-toolkit
|
|
, tqdm
|
|
, winacl
|
|
, winsspi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "msldap";
|
|
version = "0.5.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-6gTUPtGQKJSd7HpMRRlw87Iu3I1L2ea2F+QQs1U1jIM=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/skelsec/msldap/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|