mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
mkdocs-build-plantml: 1.11.0 -> 2.1.0 (#537756)
This commit is contained in:
commit
9bfc7e42c3
1 changed files with 3 additions and 3 deletions
|
|
@ -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 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue