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