1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pyhomepilot"; 11 version = "0.0.3"; 12 format = "setuptools"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "nico0302"; 17 repo = "pyhomepilot"; 18 rev = "v${version}"; 19 sha256 = "00gmqx8cwsd15iccnlr8ypgqrdg6nw9ha518cfk7pyp8vhw1ziwy"; 20 }; 21 22 propagatedBuildInputs = [ aiohttp ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "pyhomepilot" ]; 28 29 meta = with lib; { 30 description = "Python module to communicate with the Rademacher HomePilot API"; 31 homepage = "https://github.com/nico0302/pyhomepilot"; 32 license = with licenses; [ mit ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}