1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 lxml,
7}:
8
9buildPythonPackage rec {
10 pname = "pykmtronic";
11 version = "0.3.0";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-8qLyBJp7C93x0PWbgDAtNEDJ5VLNfwZ3DRZfudRCBgo=";
17 };
18
19 propagatedBuildInputs = [
20 aiohttp
21 lxml
22 ];
23
24 # Project has no tests
25 doCheck = false;
26 pythonImportsCheck = [ "pykmtronic" ];
27
28 meta = with lib; {
29 description = "Python client to interface with KM-Tronic web relays";
30 homepage = "https://github.com/dgomes/pykmtronic";
31 license = licenses.mit;
32 maintainers = with maintainers; [ fab ];
33 };
34}