nixpkgs/pkgs/development/python-modules/msldap/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
853 B
Nix
Raw Normal View History

2021-01-11 08:12:56 +00:00
{ lib
, buildPythonPackage
, fetchPypi
2021-01-11 08:12:56 +00:00
, asn1crypto
, asyauth
2021-01-11 08:12:56 +00:00
, asysocks
, minikerberos
, prompt-toolkit
2021-01-11 08:12:56 +00:00
, tqdm
, winacl
, winsspi
, pythonOlder
2021-01-11 08:12:56 +00:00
}:
buildPythonPackage rec {
pname = "msldap";
version = "0.4.6";
format = "setuptools";
disabled = pythonOlder "3.7";
2021-01-11 08:12:56 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-iiAtylJIzcfNyh1d92wA1oOYk7UWdD/F0sWtlAMMv2g=";
2021-01-11 08:12:56 +00:00
};
propagatedBuildInputs = [
asn1crypto
asyauth
2021-01-11 08:12:56 +00:00
asysocks
minikerberos
prompt-toolkit
2021-01-11 08:12:56 +00:00
tqdm
winacl
winsspi
];
# Project doesn't have tests
doCheck = false;
pythonImportsCheck = [
"msldap"
];
2021-01-11 08:12:56 +00:00
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 ];
};
}