Skip to content

Commit

Permalink
python3.pkgs.cairosvg: 2.2.1 -> 2.3.0
Browse files Browse the repository at this point in the history
(cherry picked from commit 01cb9b0)
  • Loading branch information
Robert Schütz committed Mar 13, 2019
1 parent 5681820 commit 3274b1d
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions pkgs/development/python-modules/cairosvg/default.nix
@@ -1,31 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, fetchpatch
, cairocffi, cssselect2, defusedxml, pillow, tinycss2
, pytestrunner, pytestcov, pytest-flake8, pytest-isort }:
, pytest, pytestrunner, pytestcov, pytest-flake8, pytest-isort }:

buildPythonPackage rec {
pname = "CairoSVG";
version = "2.2.1";
version = "2.3.0";

disabled = !isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "93c5b3204478c4e20c4baeb33807db5311b4420c21db2f21034a6deda998cb14";
sha256 = "66f333ef5dc79fdfbd3bbe98adc791b1f854e0461067d202fa7b15de66d517ec";
};

patches = [
# Fix tests. Remove with the next release
(fetchpatch {
url = https://github.com/Kozea/CairoSVG/commit/1f403ad229f0e2782d6427a79f0fbeb6b76148b6.patch;
sha256 = "1dxpj5zh8wmx9f8pj11hrixd5jlaqq5xlcdnbl462bh29zj18l26";
})
];

LC_ALL="en_US.UTF-8";

propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];

checkInputs = [ pytestrunner pytestcov pytest-flake8 pytest-isort ];
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];

meta = with stdenv.lib; {
homepage = https://cairosvg.org;
Expand Down

0 comments on commit 3274b1d

Please sign in to comment.