cypari2: revert 2.1.1 -> 2.1.2 update, sync with pip-install-hook.sh

pip install deprecated the --build flag. The standard python
installPhase (in pip-install-hook.sh) got updated in commit
76966f8ddd, but we use a custom one so
we need to update it separately.
This commit is contained in:
Mauricio Collares 2020-12-14 19:26:12 -03:00
parent 88cfc7f87b
commit 795baaa89e

View File

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "cypari2";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
version = "2.1.2";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a";
sha256 = "df1ef62e771ec36e5a456f5fc8b51bc6745b70f0efdd0c7a30c3f0b5f1fb93db";
};
# This differs slightly from the default python installPhase in that it pip-installs
@ -26,7 +26,7 @@ buildPythonPackage rec {
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
# install "." instead of "*.whl"
${python.pythonForBuild.pkgs.bootstrapped-pip}/bin/pip install --no-index --prefix=$out --no-cache --build=tmpdir .
${python.pythonForBuild.pkgs.bootstrapped-pip}/bin/pip install . --no-index --no-warn-script-location --prefix="$out" --no-cache
'';
nativeBuildInputs = [