blob: f40e996c1930b34836ea0c2855048c00f9f37992 (
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
42
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
python-dateutil,
urllib3,
}:
buildPythonPackage rec {
pname = "myhome";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "speijnik";
repo = "myhome";
rev = "v${version}";
hash = "sha256-DJzwvgvSA9Q0kpueUoQV64pdDDNA7WzGu7r+g5aqutk=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
python-dateutil
urllib3
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "myhome" ];
meta = {
description = "Python library for interacting with MyHomeSERVER1";
homepage = "https://github.com/speijnik/myhome";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
|