python3Packages.pyportainer: init at 1.0.1

Changed files
+55
pkgs
development
python-modules
pyportainer
top-level
+53
pkgs/development/python-modules/pyportainer/default.nix
···
···
+
{
+
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
pkgs/top-level/python-packages.nix
···
pyporscheconnectapi = callPackage ../development/python-modules/pyporscheconnectapi { };
pyppeteer = callPackage ../development/python-modules/pyppeteer { };
pyppmd = callPackage ../development/python-modules/pyppmd { };
···
pyporscheconnectapi = callPackage ../development/python-modules/pyporscheconnectapi { };
+
pyportainer = callPackage ../development/python-modules/pyportainer { };
+
pyppeteer = callPackage ../development/python-modules/pyppeteer { };
pyppmd = callPackage ../development/python-modules/pyppmd { };