python3Packages.aiogithubapi: fix version substitution

This commit is contained in:
Martin Weinelt
2022-08-03 11:34:11 +02:00
parent 8594c60e13
commit 9fc7188c27

View File

@@ -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 = [