nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 53 lines 942 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 unicrypto, 7 asyauth, 8 asysocks, 9 asn1crypto, 10 winacl, 11 prompt-toolkit, 12 tqdm, 13 wcwidth, 14 tabulate, 15}: 16 17buildPythonPackage rec { 18 pname = "msldap"; 19 version = "0.5.15"; 20 pyproject = true; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-uAJKLAVZFY7EB8tjFyAezINicki6ruzuXf1EGcp3Pj0="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 unicrypto 31 asyauth 32 asysocks 33 asn1crypto 34 winacl 35 prompt-toolkit 36 tqdm 37 wcwidth 38 tabulate 39 ]; 40 41 # Project doesn't have tests 42 doCheck = false; 43 44 pythonImportsCheck = [ "msldap" ]; 45 46 meta = { 47 description = "Python LDAP library for auditing MS AD"; 48 homepage = "https://github.com/skelsec/msldap"; 49 changelog = "https://github.com/skelsec/msldap/releases/tag/${version}"; 50 license = with lib.licenses; [ mit ]; 51 maintainers = with lib.maintainers; [ fab ]; 52 }; 53}