aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/cairosvg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/cairosvg/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/cairosvg/default.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/cairosvg/default.nix b/nixpkgs/pkgs/development/python-modules/cairosvg/default.nix
index beee8295049..77c5c21befe 100644
--- a/nixpkgs/pkgs/development/python-modules/cairosvg/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/cairosvg/default.nix
@@ -4,24 +4,15 @@
buildPythonPackage rec {
pname = "CairoSVG";
- version = "2.3.0";
+ version = "2.4.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "66f333ef5dc79fdfbd3bbe98adc791b1f854e0461067d202fa7b15de66d517ec";
+ sha256 = "1bb7irxbaxxb9ahm3z5wsx1q96mm5gzskc7b6q07h9ikcnb8yrjf";
};
- patches = [
- # fix isort-check
- (fetchpatch {
- url = https://github.com/Kozea/CairoSVG/commit/b2534b0fc80b9f24a2bff2c938ac5da73ff1e478.patch;
- excludes = [ "test_non_regression/__init__.py" ];
- sha256 = "1bms75dd0fd978yhlr0k565zq45lzxf0vkihryb7gcwnd42bl6yf";
- })
- ];
-
propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];