ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
35 lines
704 B
Nix
35 lines
704 B
Nix
{ 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 ];
|
|
};
|
|
}
|