Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 46 lines 791 B view raw
1{ lib 2, asysocks 3, buildPythonPackage 4, colorama 5, fetchPypi 6, minikerberos 7, prompt_toolkit 8, pythonOlder 9, six 10, tqdm 11, winacl 12, winsspi 13}: 14 15buildPythonPackage rec { 16 pname = "aiosmb"; 17 version = "0.2.41"; 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "sha256-hiLLoFswh0rm5f5TsaX+zyRDkOIyzGXVO0M5J5d/gtQ="; 23 }; 24 25 propagatedBuildInputs = [ 26 asysocks 27 colorama 28 minikerberos 29 prompt_toolkit 30 six 31 tqdm 32 winacl 33 winsspi 34 ]; 35 36 # Project doesn't have tests 37 doCheck = false; 38 pythonImportsCheck = [ "aiosmb" ]; 39 40 meta = with lib; { 41 description = "Python SMB library"; 42 homepage = "https://github.com/skelsec/aiosmb"; 43 license = with licenses; [ mit ]; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}