python3Packages.svg.path: 4.1 -> 5.1

This commit is contained in:
Martin Weinelt 2022-03-31 01:05:18 +02:00
parent 20b5ce4527
commit a2edb84e92

View File

@ -1,13 +1,31 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
, pillow
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "svg.path";
version = "4.1";
version = "5.1";
src = fetchPypi {
inherit pname version;
sha256 = "7e6847ba690ff620e20f152818d52e1685b993aacbc41b321f8fee3d1cb427db";
sha256 = "sha256-CltSq7BGQNmC/3EI5N0wx4QDu0zZWMJLovCUdtXZIws=";
};
checkInputs = [
pillow
pytestCheckHook
];
disabledTests = [
# generated image differs from example
"test_image"
];
pythonImportsCheck = [ "svg.path" ];
meta = with lib; {
description = "SVG path objects and parser";
homepage = "https://github.com/regebro/svg.path";