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