diff --git a/pkgs/development/python-modules/pyportainer/default.nix b/pkgs/development/python-modules/pyportainer/default.nix index 1b44bf2482eb..e1f6d3bc459c 100644 --- a/pkgs/development/python-modules/pyportainer/default.nix +++ b/pkgs/development/python-modules/pyportainer/default.nix @@ -3,6 +3,7 @@ aresponses, buildPythonPackage, fetchFromGitHub, + fetchpatch, lib, mashumaro, orjson, @@ -15,16 +16,24 @@ buildPythonPackage rec { pname = "pyportainer"; - version = "1.0.10"; + version = "1.0.12"; pyproject = true; src = fetchFromGitHub { owner = "erwindouna"; repo = "pyportainer"; tag = "v${version}"; - hash = "sha256-8wMh41fmeRhZ5kTrBqeZWy8VxJhnKxAlAp3wk732+M4="; + hash = "sha256-goTYZhv/+4o2/SMOqANMnR3u4YxwDJVcvT0pz8MT7M8="; }; + patches = [ + (fetchpatch { + name = "remove-mkdocs-from-dependencies.patch"; + url = "https://github.com/erwindouna/pyportainer/commit/8ed65c3870ff368465267e9bf2cda441b7b28994.patch"; + hash = "sha256-3FE8NngAajIt8lDjG//sDPULq8mZ0f53iVemJ2xJ4MQ="; + }) + ]; + build-system = [ poetry-core ]; dependencies = [