blob: 968c3d56e51a6c07cd842dcf2b49d2e21095dfe7 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "tellcore-py";
version = "1.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "erijo";
repo = "tellcore-py";
tag = "v${version}";
hash = "sha256-AcdYMzd3Ln65PZ+weSxyR+CwXmdi2A+wSE6B/4hepE0=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "tellcore" ];
meta = {
description = "Python wrapper for Telldus' home automation library";
homepage = "https://github.com/erijo/tellcore-py";
changelog = "https://github.com/erijo/tellcore-py/releases/tag/v${version}";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|