python3Packages.josepy: fix test run and drop unused dependency

This commit is contained in:
Martin Weinelt 2021-03-27 01:28:18 +01:00 committed by Frederik Rietdijk
parent 45e6b6019e
commit b7ce919853

View file

@ -1,9 +1,9 @@
{ lib, fetchPypi, buildPythonPackage
# buildInputs
, six
, setuptools
, pyopenssl
{ lib
, fetchPypi
, buildPythonPackage
, cryptography
, pyopenssl
, setuptools
, mock
, pytestCheckHook
}:
@ -20,12 +20,12 @@ buildPythonPackage rec {
postPatch = ''
# remove coverage flags
sed -i '/addopts/d' pytest.ini
sed -i '/flake8-ignore/d' pytest.ini
'';
propagatedBuildInputs = [
pyopenssl
cryptography
six
setuptools
];