Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, aiohttp 3, buildPythonPackage 4, cryptography 5, fetchPypi 6, poetry-core 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "pymazda"; 12 version = "0.3.11"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-DiXLY4mfgRbE0Y1tOJnkMSQQj1vcySLVDBthOWe7/dM="; 20 }; 21 22 nativeBuildInputs = [ 23 poetry-core 24 ]; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 cryptography 29 ]; 30 31 # Project has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "pymazda" 36 ]; 37 38 meta = with lib; { 39 description = "Python client for interacting with the MyMazda API"; 40 homepage = "https://github.com/bdr99/pymazda"; 41 changelog = "https://github.com/bdr99/pymazda/releases/tag/${version}"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}