Merge pull request #109625 from fabaff/rachiopy

This commit is contained in:
Sandro 2021-01-17 14:41:19 +01:00 committed by GitHub
commit 22aff717db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,35 @@
{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
, jsonschema
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "rachiopy";
version = "1.0.3";
src = fetchFromGitHub {
owner = "rfverbruggen";
repo = pname;
rev = version;
sha256 = "1d5v9qc7ymzns3ivc5fzwxnxz9sjkhklh57cw05va95mpk5kdskc";
};
propagatedBuildInputs = [ requests ];
checkInputs = [
jsonschema
pytestCheckHook
];
pythonImportsCheck = [ "rachiopy" ];
meta = with lib; {
description = "Python client for Rachio Irrigation controller";
homepage = "https://github.com/rfverbruggen/rachiopy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -653,7 +653,7 @@
"quantum_gateway" = ps: with ps; [ ]; # missing inputs: quantum-gateway
"qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro
"qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch
"rachio" = ps: with ps; [ aiohttp-cors hass-nabucasa ]; # missing inputs: rachiopy
"rachio" = ps: with ps; [ aiohttp-cors hass-nabucasa rachiopy ];
"radarr" = ps: with ps; [ ];
"radiotherm" = ps: with ps; [ ]; # missing inputs: radiotherm
"rainbird" = ps: with ps; [ ]; # missing inputs: pyrainbird

View file

@ -6525,6 +6525,8 @@ in {
rabbitpy = callPackage ../development/python-modules/rabbitpy { };
rachiopy = callPackage ../development/python-modules/rachiopy { };
radicale_infcloud = callPackage ../development/python-modules/radicale_infcloud { };
radio_beam = callPackage ../development/python-modules/radio_beam { };