11 buildPythonPackage rec {
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
22 # Tag v1.3.0 is missing the actual version number bump.
23 rev = "bda62b101530588718d931d61bcc343a628b9af9";
25 fetchSubmodules = true;
26 hash = "sha256-Exjxdm0VnnjHUKjquXsC/zDmwA7bELHdX1f55IGBjYk=";
30 substituteInPlace pyproject.toml \
31 --replace "'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]'" "" \
32 --replace "--isort --flake8 --cov --no-cov-on-fail" ""
35 nativeBuildInputs = [ flit-core ];
37 propagatedBuildInputs = [ webencodings ];
39 nativeCheckInputs = [ pytestCheckHook ];
42 description = "Low-level CSS parser for Python";
43 homepage = "https://github.com/Kozea/tinycss2";
44 license = licenses.bsd3;
45 maintainers = with maintainers; [ onny ];