15 buildPythonPackage rec {
18 format = "setuptools";
20 disabled = pythonOlder "3.6";
22 src = fetchFromGitHub {
26 sha256 = "1393xwqawaxsflbq62vks92vv4zch8p6dd1mdvdi7j4vvf0zljkg";
29 propagatedBuildInputs = [
43 substituteInPlace setup.cfg \
48 # this test is flaky on darwin because it depends on the resolution of filesystem mtimes
49 # https://github.com/cldf/csvw/blob/45584ad63ff3002a9b3a8073607c1847c5cbac58/tests/test_db.py#L257
50 "test_write_file_exists"
51 ] ++ lib.optionals (pythonAtLeast "3.10") [
52 # https://github.com/cldf/csvw/issues/58
53 "test_roundtrip_escapechar"
54 "test_escapequote_escapecharquotechar_final"
58 pythonImportsCheck = [
63 description = "CSV on the Web";
64 homepage = "https://github.com/cldf/csvw";
65 license = licenses.asl20;
66 maintainers = with maintainers; [ hexa ];