mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
pythonPackages.CairoSVG: 2.1.3 -> 2.2.1
This commit is contained in:
parent
e8bfc317fd
commit
c564ca83ee
@ -1,18 +1,28 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, fetchpatch
|
||||
, cairocffi, cssselect2, defusedxml, pillow, tinycss2
|
||||
, pytestrunner, pytestcov, pytest-flake8, pytest-isort }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "CairoSVG";
|
||||
version = "2.1.3";
|
||||
version = "2.2.1";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e512f555f576b6462b04b585c4ba4c09a43f3a8fec907b60ead21d7d00c550e9";
|
||||
sha256 = "93c5b3204478c4e20c4baeb33807db5311b4420c21db2f21034a6deda998cb14";
|
||||
};
|
||||
|
||||
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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user