git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.cairosvg: fix isort-check
commitbc14eedcb1766b91ca29ba6adbd62dca2102d17c authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateSat 13 Apr 2019, 21:32 (8 years ago) parent290be50
1 file changed+9
pkgs/development/python-modules/cairosvg/default.nix+9
pkgs/development/python-modules/cairosvg/default.nix+9
@@ -13,6 +13,15 @@ buildPythonPackage rec {
1313 sha256 = "66f333ef5dc79fdfbd3bbe98adc791b1f854e0461067d202fa7b15de66d517ec";
1414 };
1515
16+ patches = [
17+ # fix isort-check
18+ (fetchpatch {
19+ url = https://github.com/Kozea/CairoSVG/commit/b2534b0fc80b9f24a2bff2c938ac5da73ff1e478.patch;
20+ excludes = [ "test_non_regression/__init__.py" ];
21+ sha256 = "1bms75dd0fd978yhlr0k565zq45lzxf0vkihryb7gcwnd42bl6yf";
22+ })
23+ ];
24+
1625 propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];
1726
1827 checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];