blob: a6852c297559400d8b0b4b95f207bd0be731cb4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
jsonschema,
pytestCheckHook,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "rachiopy";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "rfverbruggen";
repo = "rachiopy";
tag = version;
hash = "sha256-PsdEXNy8vUxba/C00ARhLTQU9gMlChy9XdU20r+Maus=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [
jsonschema
pytestCheckHook
];
pythonImportsCheck = [ "rachiopy" ];
meta = {
description = "Python client for Rachio Irrigation controller";
homepage = "https://github.com/rfverbruggen/rachiopy";
changelog = "https://github.com/rfverbruggen/rachiopy/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|