16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.6";
23 src = fetchFromGitHub {
24 owner = "joaopalotti";
26 # https://github.com/joaopalotti/trectools/issues/41
27 rev = "5c1d56e9cf955f45b5a1780ee6a82744d31e7a79";
28 hash = "sha256-Lh6sK2rxEdCsOUKHn1jgm+rsn8FK1f2po0UuZfZajBA=";
32 substituteInPlace setup.py \
33 --replace "bs4 >= 0.0.0.1" "beautifulsoup4 >= 4.11.1"
36 propagatedBuildInputs = [
49 ${python.interpreter} -m unittest runner
52 pythonImportsCheck = [ "trectools" ];
55 homepage = "https://github.com/joaopalotti/trectools";
56 description = "Library for assisting Information Retrieval (IR) practitioners with TREC-like campaigns";
57 license = licenses.bsdOriginal;
58 maintainers = with maintainers; [ MoritzBoehme ];