blob: 280a78610661ebb65751d711ceecd820797917cd (
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,
pytestCheckHook,
requests,
requests-mock,
setuptools,
}:
buildPythonPackage rec {
pname = "pyfibaro";
version = "0.8.3";
pyproject = true;
src = fetchFromGitHub {
owner = "rappenze";
repo = "pyfibaro";
tag = version;
hash = "sha256-KdlndW066TDxZpkIP0Oa3Lii0mBpwELfHtoGKiwh6GE=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "pyfibaro" ];
meta = {
description = "Library to access FIBARO Home center";
homepage = "https://github.com/rappenze/pyfibaro";
changelog = "https://github.com/rappenze/pyfibaro/releases/tag/${src.tag}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|