python.pkgs.whoosh: use latest pytest
This commit is contained in:
parent
fd97819cd0
commit
a09c62c1a3
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, pytest_3 }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Whoosh";
|
||||
|
@ -8,11 +8,12 @@ buildPythonPackage rec {
|
|||
sha256 = "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest_3 ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# Wrong encoding
|
||||
postPatch = ''
|
||||
rm tests/test_reading.py
|
||||
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
||||
'';
|
||||
checkPhase = ''
|
||||
# FIXME: test_minimize_dfa fails on python 3.6
|
||||
|
@ -25,6 +26,5 @@ checking library.";
|
|||
homepage = https://bitbucket.org/mchaput/whoosh;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue