python3Packages.svg-path: disable on older Python releases
This commit is contained in:
parent
be137a2446
commit
ba645ea156
1 changed files with 8 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue