Revert "python3Packages.invoke: 2.2.1 -> 3.0.3"

This reverts commit 17c5975cd61257373860b24f0a13c7384d922908.

Breaks fabric, which requires invoke<3.
This commit is contained in:
Martin Weinelt
2026-07-13 14:31:36 +02:00
parent bf61433489
commit 4db081fc19
@@ -3,28 +3,23 @@
bash,
buildPythonPackage,
fetchPypi,
setuptools,
stdenv,
}:
buildPythonPackage rec {
pname = "invoke";
version = "3.0.3";
pyproject = true;
version = "2.2.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Q3tqYiIjgkOAv7TmT2EnEaa2SMeV9WXvyGJa9m+1fww=";
hash = "sha256-UVv0m0pIkyt5sCRZA0jaIvOcSULf+ZGtH7i4uuob5wc=";
};
postPatch = ''
sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
'';
build-system = [
setuptools
];
# errors with vendored libs
doCheck = false;