10 buildPythonPackage rec {
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
22 fetchSubmodules = true;
23 sha256 = "sha256-RUF/3cjNgDFofoxl9iKY3u5ZAVVQmXu2Qbb5U4brdcQ=";
27 substituteInPlace pyproject.toml \
28 --replace "'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]'" "" \
29 --replace "--isort --flake8 --cov --no-cov-on-fail" ""
32 nativeBuildInputs = [ flit-core ];
34 propagatedBuildInputs = [ webencodings ];
36 checkInputs = [ pytestCheckHook ];
39 description = "Low-level CSS parser for Python";
40 homepage = "https://github.com/Kozea/tinycss2";
41 license = licenses.bsd3;
42 maintainers = with maintainers; [ onny ];