python3Packages.svg-path: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-04-18 21:15:46 +02:00 committed by GitHub
parent be137a2446
commit ba645ea156
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,15 +3,19 @@
, fetchPypi
, pillow
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "svg.path";
version = "6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-X78HaJFzywl3aA4Sl58wHQu2r1NVyjlsww0+ESx5TdU=";
hash = "sha256-X78HaJFzywl3aA4Sl58wHQu2r1NVyjlsww0+ESx5TdU=";
};
checkInputs = [
@ -24,7 +28,9 @@ buildPythonPackage rec {
"test_image"
];
pythonImportsCheck = [ "svg.path" ];
pythonImportsCheck = [
"svg.path"
];
meta = with lib; {
description = "SVG path objects and parser";