Merge pull request #109625 from fabaff/rachiopy
This commit is contained in:
commit
22aff717db
35
pkgs/development/python-modules/rachiopy/default.nix
Normal file
35
pkgs/development/python-modules/rachiopy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user