diff options
| author | Jonas Heinrich <onny@project-insanity.org> | 2022-08-20 12:50:16 +0200 |
|---|---|---|
| committer | Jonas Heinrich <onny@project-insanity.org> | 2022-09-01 12:06:51 +0200 |
| commit | 28fa56d1fce801ecb1435edfee997db2d5d9947e (patch) | |
| tree | de3b03e053c95daf76c3830241889f696cbe75e6 /pkgs/development/python-modules | |
| parent | 2364de14a70e8ba2096dbe0af666a735860a0c43 (diff) | |
python310Packages.tinycss2: 1.1.0 -> 1.1.1
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/tinycss2/default.nix | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/tinycss2/default.nix b/pkgs/development/python-modules/tinycss2/default.nix index 7e49433bc2f3..8d6d457d31a6 100644 --- a/pkgs/development/python-modules/tinycss2/default.nix +++ b/pkgs/development/python-modules/tinycss2/default.nix @@ -4,38 +4,41 @@ , fetchFromGitHub , webencodings , pytestCheckHook +, flit-core }: buildPythonPackage rec { pname = "tinycss2"; - version = "1.1.0"; - disabled = pythonOlder "3.5"; + version = "1.1.1"; format = "flit"; + disabled = pythonOlder "3.6"; + src = fetchFromGitHub { owner = "kozea"; repo = "tinycss2"; rev = "v${version}"; # for tests fetchSubmodules = true; - sha256 = "sha256-WA88EYolL76WqeA1UKR3Sfw11j8NuOGOxPezujYizH8="; + sha256 = "sha256-RUF/3cjNgDFofoxl9iKY3u5ZAVVQmXu2Qbb5U4brdcQ="; }; - propagatedBuildInputs = [ webencodings ]; - - checkInputs = [ - pytestCheckHook - ]; - postPatch = '' substituteInPlace pyproject.toml \ --replace "'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]'" "" \ - --replace "--isort --flake8 --cov" "" + --replace "--isort --flake8 --cov --no-cov-on-fail" "" ''; + nativeBuildInputs = [ flit-core ]; + + propagatedBuildInputs = [ webencodings ]; + + checkInputs = [ pytestCheckHook ]; + meta = with lib; { description = "Low-level CSS parser for Python"; homepage = "https://github.com/Kozea/tinycss2"; license = licenses.bsd3; + maintainers = with maintainers; [ onny ]; }; } |
