diff --git a/pkgs/development/python-modules/plugincode/default.nix b/pkgs/development/python-modules/plugincode/default.nix index 7270685f41b1..2e54d5604e19 100644 --- a/pkgs/development/python-modules/plugincode/default.nix +++ b/pkgs/development/python-modules/plugincode/default.nix @@ -7,14 +7,19 @@ , pluggy , pytestCheckHook , pytest-xdist +, pythonOlder }: + buildPythonPackage rec { pname = "plugincode"; - version = "21.1.21"; + version = "30.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "97b5a2c96f0365c80240be103ecd86411c68b11a16f137913cbea9129c54907a"; + hash = "sha256-QjcQCvhlaBzcbBB8MIhbsx4cRy7XkdvUcmG7rM48Sos="; }; dontConfigure = true; @@ -38,8 +43,13 @@ buildPythonPackage rec { "plugincode" ]; + disabledTests = [ + # We don't want black as an input + "test_skeleton_codestyle" + ]; + meta = with lib; { - description = "A library that provides plugin functionality for ScanCode toolkit"; + description = "Library that provides plugin functionality for ScanCode toolkit"; homepage = "https://github.com/nexB/plugincode"; license = licenses.asl20; maintainers = teams.determinatesystems.members;