blob: 6ce8f0de688335733d835ade611a662d52da0ff9 (
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
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
bleak,
pyyaml,
voluptuous,
pytestCheckHook,
pytest-asyncio,
poetry-core,
}:
buildPythonPackage rec {
pname = "idasen";
version = "0.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "newAM";
repo = "idasen";
tag = "v${version}";
hash = "sha256-TQ+DBFpG+IeZ4/dN+YKMw3AM4Dl1rpqA1kRcb3Tb3jA=";
};
build-system = [ poetry-core ];
dependencies = [
bleak
pyyaml
voluptuous
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "idasen" ];
meta = {
description = "Python API and CLI for the ikea IDÅSEN desk";
mainProgram = "idasen";
homepage = "https://github.com/newAM/idasen";
changelog = "https://github.com/newAM/idasen/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ newam ];
};
}
|