python3Packages.aiogithubapi: fix version substitution

This commit is contained in:
Martin Weinelt
2022-08-03 14:34:38 +02:00
parent 8594c60e13
commit 9fc7188c27
@@ -45,7 +45,7 @@ buildPythonPackage rec {
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
# are not in their focus
substituteInPlace pyproject.toml \
--replace 'version="main",' 'version="${version}",'
--replace 'version = "0"' 'version = "${version}"'
'';
pythonImportsCheck = [