python310Packages.reqif: python3 -> python

Co-authored-by: Jonas Heinrich <onny@project-insanity.org>
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
yuu
2022-07-22 12:30:51 -03:00
co-authored by Jonas Heinrich Sandro Jäckel Martin Weinelt
parent 6b4900c1f1
commit ac5294fe01
@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, python3
, python
, pythonOlder
, fetchFromGitHub
, poetry-core
@@ -26,7 +26,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace ./tests/unit/conftest.py --replace \
"os.path.abspath(os.path.join(__file__, \"../../../../reqif\"))" \
"\"${placeholder "out"}/${python3.sitePackages}/reqif\""
"\"${placeholder "out"}/${python.sitePackages}/reqif\""
substituteInPlace pyproject.toml --replace "^" ">="
substituteInPlace requirements.txt --replace "==" ">="
'';