forked from mirrors/nixpkgs
Merge pull request #118768 from fabaff/pyhomepluscontrol
python3Packages.homepluscontrol: init at 0.0.5
This commit is contained in:
commit
558235c32c
43
pkgs/development/python-modules/homepluscontrol/default.nix
Normal file
43
pkgs/development/python-modules/homepluscontrol/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homepluscontrol";
|
||||
version = "0.0.5";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chemaaa";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1nd3a7nhh1xb70cdh2h2bimwbffvpc3457smyzr9fqkjwfbcrr93";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
pyjwt
|
||||
yarl
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "homepluscontrol" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API to interact with the Legrand Eliot Home and Control";
|
||||
homepage = "https://github.com/chemaaa/homepluscontrol";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -3116,6 +3116,8 @@ in {
|
|||
|
||||
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
|
||||
|
||||
homepluscontrol = callPackage ../development/python-modules/homepluscontrol { };
|
||||
|
||||
hoomd-blue = toPythonModule (callPackage ../development/python-modules/hoomd-blue {
|
||||
inherit python;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue