python3Packages.pyhomepilot: init at 0.0.3
This commit is contained in:
parent
5b45b2fa6f
commit
b99a500a04
2 changed files with 37 additions and 0 deletions
35
pkgs/development/python-modules/pyhomepilot/default.nix
Normal file
35
pkgs/development/python-modules/pyhomepilot/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue