Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 56 lines 954 B view raw
1{ lib 2, asyauth 3, asysocks 4, buildPythonPackage 5, colorama 6, fetchPypi 7, minikerberos 8, prompt-toolkit 9, pycryptodomex 10, pythonOlder 11, six 12, tqdm 13, winacl 14, winsspi 15}: 16 17buildPythonPackage rec { 18 pname = "aiosmb"; 19 version = "0.4.4"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-IGIEmM9eZ5T+op3ctGr72oy/cU48+OHaFJaZ8DRTY38="; 27 }; 28 29 propagatedBuildInputs = [ 30 asyauth 31 asysocks 32 colorama 33 minikerberos 34 prompt-toolkit 35 pycryptodomex 36 six 37 tqdm 38 winacl 39 winsspi 40 ]; 41 42 # Project doesn't have tests 43 doCheck = false; 44 45 pythonImportsCheck = [ 46 "aiosmb" 47 ]; 48 49 meta = with lib; { 50 description = "Python SMB library"; 51 homepage = "https://github.com/skelsec/aiosmb"; 52 changelog = "https://github.com/skelsec/aiosmb/releases/tag/${version}"; 53 license = with licenses; [ mit ]; 54 maintainers = with maintainers; [ fab ]; 55 }; 56}