python3Packages.zfec: Avoid using deprecated test runner

This commit is contained in:
Jean-Paul Calderone 2023-03-17 11:55:00 -04:00
parent 742f3d6eff
commit 23bc23f6a5

View File

@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, pyutil
, setuptoolsTrial
, twisted
}:
@ -17,12 +16,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pyutil ];
nativeCheckInputs = [ setuptoolsTrial twisted ];
nativeCheckInputs = [ twisted ];
# argparse is in the stdlib but zfec doesn't know that.
postPatch = ''
sed -i -e '/argparse/d' setup.py
'';
checkPhase = "trial zfec";
pythonImportsCheck = [ "zfec" ];