set pyproject = true

This commit is contained in:
2024-12-14 13:17:53 -06:00
parent 84fb83a076
commit 2e5358c65e
2 changed files with 9 additions and 3 deletions

View File

@@ -15,12 +15,14 @@ python3Packages.buildPythonApplication rec {
rev = version;
hash = "sha256-Y16+/9TnECMkppgI/BeAbTLWt0M4V/xn1+hM4ILp/+g=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "poetry>=1.2.0" poetry-core \
--replace-fail "poetry.masonry.api" "poetry.core.masonry.api" \
--replace-fail 'pytest-rerunfailures = "^11.1.2"' 'pytest-rerunfailures = "14.0"'
'';
build-system = [
python3Packages.poetry-core
];