python3Packages.svg-path: disable on older Python releases
This commit is contained in:
parent
be137a2446
commit
ba645ea156
|
@ -3,15 +3,19 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pillow
|
, pillow
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "svg.path";
|
pname = "svg.path";
|
||||||
version = "6.0";
|
version = "6.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-X78HaJFzywl3aA4Sl58wHQu2r1NVyjlsww0+ESx5TdU=";
|
hash = "sha256-X78HaJFzywl3aA4Sl58wHQu2r1NVyjlsww0+ESx5TdU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -24,7 +28,9 @@ buildPythonPackage rec {
|
||||||
"test_image"
|
"test_image"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "svg.path" ];
|
pythonImportsCheck = [
|
||||||
|
"svg.path"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "SVG path objects and parser";
|
description = "SVG path objects and parser";
|
||||||
|
|
Loading…
Reference in a new issue