python3Packages.tinycss2: unbreak
Newly breaking due to changes in pytest-flake8, resolved with upstream patch. Took the opportunity to clean up the package a little bit too, remove unnecessary patch.
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
{ lib, buildPythonPackage, pythonOlder, fetchPypi
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, webencodings
|
||||
, pytest, pytestrunner, pytestcov, pytest-flake8, pytest-isort }:
|
||||
# Check inputs
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytestcov
|
||||
, pytest-flake8
|
||||
, pytest-isort
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tinycss2";
|
||||
@@ -12,7 +22,15 @@ buildPythonPackage rec {
|
||||
sha256 = "1kw84y09lggji4krkc58jyhsfj31w8npwhznr7lf19d0zbix09v4";
|
||||
};
|
||||
|
||||
patches = [ ./remove-redundant-dependency.patch ];
|
||||
patches = [
|
||||
(
|
||||
fetchpatch {
|
||||
name = "tinycss2-fix-pytest-flake8-fail.patch";
|
||||
url = "https://github.com/Kozea/tinycss2/commit/6556604fb98c2153412384d6f0f705db2da1aa60.patch";
|
||||
sha256 = "1srvdzg1bak65fawd611rlskcgn5abmwmyjnk8qrrrasr554bc59";
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ webencodings ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user