1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pyhomepilot"; 10 version = "0.0.3"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchFromGitHub { 14 owner = "nico0302"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "00gmqx8cwsd15iccnlr8ypgqrdg6nw9ha518cfk7pyp8vhw1ziwy"; 18 }; 19 20 propagatedBuildInputs = [ 21 aiohttp 22 ]; 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}