Merge pull request #280609 from fabaff/vacuum-map-parser-base-version

python311Packages.vacuum-map-parser-base: set version
This commit is contained in:
Fabian Affolter
2024-01-14 10:11:32 +01:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
@@ -20,6 +20,12 @@ buildPythonPackage rec {
hash = "sha256-moCWUPzn9stxehVEnjqpx8ILYhxzuy8QG+uxR53rCew=";
};
postPatch = ''
# Upstream doesn't set a version in the pyproject.toml file
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}"
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ pillow ];
@@ -21,6 +21,12 @@ buildPythonPackage rec {
hash = "sha256-cZNmoqzU73iF965abFeM6qgEVmg6j2kIQHDhj1MYQpE=";
};
postPatch = ''
# Upstream doesn't set a version in the pyproject.toml file
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}"
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [