python3Packages.rachiopy: init at 1.0.3

This commit is contained in:
Fabian Affolter 2021-01-17 13:28:35 +01:00
parent aa4a14b7ad
commit 36b897f6eb
2 changed files with 37 additions and 0 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

@ -6509,6 +6509,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 { };