Merge pull request #176210 from fabaff/pykwb

python310Packages.pykwb: init at 0.0.10
This commit is contained in:
Martin Weinelt 2022-06-04 12:58:51 +02:00 committed by GitHub
commit fe1cf56de4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyserial
, pythonOlder
}:
buildPythonPackage rec {
pname = "pykwb";
version = "0.0.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-mor2TKhq08w4HzaUaspWOMEFwJaAKjXKoNAaoZJqWPQ=";
};
propagatedBuildInputs = [
pyserial
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pykwb"
];
meta = with lib; {
description = "Library for interacting with KWB Easyfire Pellet Central Heating Units";
homepage = "https://github.com/bimbar/pykwb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1386,7 +1386,8 @@
pykulersky
];
"kwb" = ps: with ps; [
]; # missing inputs: pykwb
pykwb
];
"lacrosse" = ps: with ps; [
pylacrosse
];

View file

@ -7482,6 +7482,8 @@ in {
pykwalify = callPackage ../development/python-modules/pykwalify { };
pykwb = callPackage ../development/python-modules/pykwb { };
pylacrosse = callPackage ../development/python-modules/pylacrosse { };
pylama = callPackage ../development/python-modules/pylama { };