python3Packages.pyhomepilot: init at 0.0.3

This commit is contained in:
Fabian Affolter 2021-06-26 22:11:48 +02:00 committed by Jonathan Ringer
parent 5b45b2fa6f
commit b99a500a04
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyhomepilot";
version = "0.0.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "nico0302";
repo = pname;
rev = "v${version}";
sha256 = "00gmqx8cwsd15iccnlr8ypgqrdg6nw9ha518cfk7pyp8vhw1ziwy";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyhomepilot" ];
meta = with lib; {
description = "Python module to communicate with the Rademacher HomePilot API";
homepage = "https://github.com/nico0302/pyhomepilot";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6000,6 +6000,8 @@ in {
pyhomematic = callPackage ../development/python-modules/pyhomematic { };
pyhomepilot = callPackage ../development/python-modules/pyhomepilot { };
pyhs100 = callPackage ../development/python-modules/pyhs100 { };
pyi2cflash = callPackage ../development/python-modules/pyi2cflash { };