blob: 9de53e11514e6ee9ae3fb87ef93f5cd789113da5 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
websocket-client,
xmltodict,
}:
buildPythonPackage rec {
pname = "pyskyqremote";
version = "0.3.26";
format = "setuptools";
src = fetchFromGitHub {
owner = "RogerSelwyn";
repo = "skyq_remote";
tag = version;
hash = "sha256-aMgUwgKHgR+NQvRxiUV7GaXehjDIlJJJHwSmHDmzK08=";
};
propagatedBuildInputs = [
requests
websocket-client
xmltodict
];
# Project has no tests, only a test script which looks like anusage example
doCheck = false;
pythonImportsCheck = [ "pyskyqremote" ];
meta = {
description = "Python module for accessing SkyQ boxes";
homepage = "https://github.com/RogerSelwyn/skyq_remote";
changelog = "https://github.com/RogerSelwyn/skyq_remote/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|