2021-03-04 20:42:51 +01:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pykmtronic";
|
2021-04-14 23:57:22 +02:00
|
|
|
version = "0.3.0";
|
2021-03-04 20:42:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-14 23:57:22 +02:00
|
|
|
sha256 = "sha256-8qLyBJp7C93x0PWbgDAtNEDJ5VLNfwZ3DRZfudRCBgo=";
|
2021-03-04 20:42:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp lxml ];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pykmtronic" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client to interface with KM-Tronic web relays";
|
|
|
|
homepage = "https://github.com/dgomes/pykmtronic";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|