mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
7bd65d54f7
While looking at the sphinx package I noticed it was heavily undermaintained, which is when we noticed nand0p has been inactive for roughly 18 months. It is therefore prudent to assume they will not be maintaining their packages, modules and tests. - Their last contribution to nixpkgs was in 2019/12 - On 2021/05/08 I wrote them an email to the address listed in the maintainer-list, which they didn't reply to.
31 lines
800 B
Nix
31 lines
800 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Whoosh";
|
|
version = "2.7.4";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw";
|
|
};
|
|
|
|
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
|
|
py.test -k "not test_timelimit and not test_minimize_dfa"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Fast, pure-Python full text indexing, search, and spell
|
|
checking library.";
|
|
homepage = "https://bitbucket.org/mchaput/whoosh";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|