Merge pull request #221686 from tahoe-lafs/zfec-packaging-improvements

python3Packages.zfec: Avoid using deprecated test runner
This commit is contained in:
Pavol Rusnak 2023-03-17 18:07:55 +01:00 committed by GitHub
commit 5feb5054bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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" ];