nixpkgs/pkgs/development/python-modules/msldap/default.nix
2022-07-15 08:42:21 +02:00

50 lines
832 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, asn1crypto
, asysocks
, minikerberos
, prompt-toolkit
, tqdm
, winacl
, winsspi
, pythonOlder
}:
buildPythonPackage rec {
pname = "msldap";
version = "0.3.40";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-4sIqbjlrTX1l1zhj7URhISDo4lcP+JW1Qh3fajUAhbs=";
};
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 ];
};
}