mkdocs-build-plantml: 1.11.0 -> 2.1.0 (#537756)

This commit is contained in:
Robert Helgesson 2026-07-05 22:05:47 +00:00 committed by GitHub
commit 9bfc7e42c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,20 +10,20 @@
buildPythonPackage rec {
pname = "mkdocs-build-plantuml";
version = "1.11.0";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "christo-ph";
repo = "mkdocs_build_plantuml";
tag = version;
hash = "sha256-cbyxvWBIV+v81m+xGZZsUypkM1uuj4ADMUrAYlc/XBI=";
hash = "sha256-KTtZXeMZwbrx1M6Keu9BzT3GmarsVx9kEmn63rwHatI=";
};
# There's only one substitution, no patch is needed.
postPatch = ''
substituteInPlace mkdocs_build_plantuml_plugin/plantuml.py \
--replace-fail '/usr/local/bin/plantuml' '${lib.getExe pkgs.plantuml}'
--replace-fail "shutil.which('plantuml') or 'plantuml'" "'${lib.getExe pkgs.plantuml}'"
'';
build-system = [ setuptools ];