diff --git a/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix b/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix index 7384e05e23b2..4d7ce6705f38 100644 --- a/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix +++ b/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix @@ -27,6 +27,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-6FmMMaR+gyp5Gx0oXiDYvsr6uA8hwrV93YYrYkJsMNY="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "version = \"2.1.4\"" "version = \"${finalAttrs.version}\"" + ''; + build-system = [ hatchling ];