diff --git a/pkgs/development/python-modules/svg-path/default.nix b/pkgs/development/python-modules/svg-path/default.nix index b16d9c82510..b5b15476322 100644 --- a/pkgs/development/python-modules/svg-path/default.nix +++ b/pkgs/development/python-modules/svg-path/default.nix @@ -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";