8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
695 B
Nix
26 lines
695 B
Nix
{ lib, buildPythonPackage, pythonOlder, fetchPypi
|
|
, webencodings
|
|
, pytest, pytestrunner, pytestcov, pytest-flake8, pytest-isort }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tinycss2";
|
|
version = "1.0.2";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1kw84y09lggji4krkc58jyhsfj31w8npwhznr7lf19d0zbix09v4";
|
|
};
|
|
|
|
patches = [ ./remove-redundant-dependency.patch ];
|
|
|
|
propagatedBuildInputs = [ webencodings ];
|
|
|
|
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
|
|
|
|
meta = with lib; {
|
|
description = "Low-level CSS parser for Python";
|
|
homepage = "https://github.com/Kozea/tinycss2";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|