10 buildPythonPackage rec {
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
22 fetchSubmodules = true;
23 hash = "sha256-rJtxMmW30NK+E+Dhh/fu6FPrEojWWdoEWNt0raYEubs=";
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 nativeCheckInputs = [ 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 ];