1{ lib 2, aiohttp 3, buildPythonPackage 4, cryptography 5, fetchPypi 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pymazda"; 11 version = "0.3.0"; 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-D0odz4GkKvjuafhEGlHtRnO8lk4rV9y3imaHl7jXqJw="; 17 }; 18 19 propagatedBuildInputs = [ 20 aiohttp 21 cryptography 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 pythonImportsCheck = [ "pymazda" ]; 27 28 meta = with lib; { 29 description = "Python client for interacting with the MyMazda API"; 30 homepage = "https://github.com/bdr99/pymazda"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}