11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.6";
19 inherit pname version;
20 hash = "sha256-PDVRHDZSXLL5Qc1nCbejp0LtlfC55WyX7sDBb9wDUYM=";
23 propagatedBuildInputs = [
33 # disable tests that require an internet connection
38 # tests try to write to /tmp directly. use $TMPDIR instead.
40 substituteInPlace tests/unit_tests.py \
41 --replace "\"courlan --help\"" "\"$out/bin/courlan --help\"" \
42 --replace "courlan_bin = \"courlan\"" "courlan_bin = \"$out/bin/courlan\"" \
43 --replace "/tmp" "$TMPDIR"
46 pythonImportsCheck = [ "courlan" ];
49 description = "Clean, filter and sample URLs to optimize data collection";
50 mainProgram = "courlan";
51 homepage = "https://github.com/adbar/courlan";
52 changelog = "https://github.com/adbar/courlan/blob/v${version}/HISTORY.md";
53 license = licenses.asl20;
54 maintainers = with maintainers; [ jokatzke ];