python312Packages.neo4j: refactor

This commit is contained in:
Fabian Affolter 2024-04-02 17:53:49 +02:00
parent ce5247a2ef
commit 2b9928b40d

View File

@ -27,16 +27,16 @@ buildPythonPackage rec {
postPatch = ''
# The dynamic versioning adds a postfix (.dev0) to the version
substituteInPlace pyproject.toml \
--replace '"tomlkit ~= 0.11.6"' '"tomlkit >= 0.11.6"' \
--replace 'dynamic = ["version", "readme"]' 'dynamic = ["readme"]' \
--replace '#readme = "README.rst"' 'version = "${version}"'
--replace-fail '"tomlkit ~= 0.11.6"' '"tomlkit >= 0.11.6"' \
--replace-fail 'dynamic = ["version", "readme"]' 'dynamic = ["readme"]' \
--replace-fail '#readme = "README.rst"' 'version = "${version}"'
'';
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
dependencies = [
pytz
tomlkit
];