python3Packages.pyportainer: init at 1.0.1

This commit is contained in:
Robert Schütz
2025-09-29 04:24:46 -07:00
parent 2d19c65146
commit fa9ebfa44d
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,53 @@
{
aiohttp,
aresponses,
buildPythonPackage,
fetchFromGitHub,
lib,
mashumaro,
orjson,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
syrupy,
yarl,
}:
buildPythonPackage rec {
pname = "pyportainer";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "erwindouna";
repo = "pyportainer";
tag = "v${version}";
hash = "sha256-SAHcIP6M4WjWnrRwz4FlsV6rel1vHzH+cGHT8D/PcQk=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
mashumaro
orjson
yarl
];
pythonImportsCheck = [ "pyportainer" ];
nativeCheckInputs = [
aresponses
pytest-cov-stub
pytestCheckHook
syrupy
];
meta = {
changelog = "https://github.com/erwindouna/pyportainer/releases/tag/${src.tag}";
description = "Asynchronous Python client for the Portainer API";
homepage = "https://github.com/erwindouna/pyportainer";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
+2
View File
@@ -13805,6 +13805,8 @@ self: super: with self; {
pyporscheconnectapi = callPackage ../development/python-modules/pyporscheconnectapi { };
pyportainer = callPackage ../development/python-modules/pyportainer { };
pyppeteer = callPackage ../development/python-modules/pyppeteer { };
pyppmd = callPackage ../development/python-modules/pyppmd { };