forked from axeman/erpnext-nix
python-bench: lift dependency on hatchling
This commit is contained in:
parent
c6cf41f94b
commit
d5495fa24a
1 changed files with 4 additions and 1 deletions
|
@ -32,9 +32,12 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml --replace-fail 'hatchling>=1.6.0,<=1.21.0' 'hatchling<=1.24.2'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||||
pythonRelaxDeps = [ "jinja2" "python-crontab" "semantic-version" "hatchling" ];
|
pythonRelaxDeps = [ "jinja2" "python-crontab" "semantic-version" ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
hatchling
|
hatchling
|
||||||
|
|
Loading…
Add table
Reference in a new issue