Merge pull request #115129 from fabaff/pykmtronic

python3Packages.pykmtronic: init at 0.0.2
This commit is contained in:
Sandro
2021-03-05 01:46:47 +01:00
committed by GitHub
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, lxml
}:
buildPythonPackage rec {
pname = "pykmtronic";
version = "0.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "1p0i7g4k8ggmzargdi3ch55id04j5qjlhv8hap2162gc77b16d59";
};
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 ];
};
}