python3Packages.python-qube-heatpump: init at 1.7.0
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pymodbus,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "python-qube-heatpump";
|
||||
version = "1.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MattieGit";
|
||||
repo = "python-qube-heatpump";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-auxFAKEi8nvPQPDU7Lg2bt8X5TaFaYhvcnQLv86QpGY=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [ pymodbus ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "python_qube_heatpump" ];
|
||||
|
||||
meta = {
|
||||
description = "Async Modbus client for Qube Heat Pumps";
|
||||
homepage = "https://github.com/MattieGit/python-qube-heatpump";
|
||||
changelog = "https://github.com/MattieGit/python-qube-heatpump/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -15872,6 +15872,8 @@ self: super: with self; {
|
||||
|
||||
python-ptrace = callPackage ../development/python-modules/python-ptrace { };
|
||||
|
||||
python-qube-heatpump = callPackage ../development/python-modules/python-qube-heatpump { };
|
||||
|
||||
python-rabbitair = callPackage ../development/python-modules/python-rabbitair { };
|
||||
|
||||
python-rapidjson = callPackage ../development/python-modules/python-rapidjson { };
|
||||
|
||||
Reference in New Issue
Block a user