mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
52 lines
853 B
Nix
52 lines
853 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, asn1crypto
|
|
, asyauth
|
|
, asysocks
|
|
, minikerberos
|
|
, prompt-toolkit
|
|
, tqdm
|
|
, winacl
|
|
, winsspi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "msldap";
|
|
version = "0.4.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-+zfFCWtqIrK0tQNJ+noilvvXO6y1umWoNQ2TvhDosls=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|