Unverified Commit 49298988 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.pyportainer: init at 1.0.1 (#447151)

parents 1d040f31 fa9ebfa4
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -13810,6 +13810,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 { };