diff --git a/pkgs/development/python-modules/uncompyle6/default.nix b/pkgs/development/python-modules/uncompyle6/default.nix index 720ff9bba026..e5d9b4bef619 100644 --- a/pkgs/development/python-modules/uncompyle6/default.nix +++ b/pkgs/development/python-modules/uncompyle6/default.nix @@ -2,10 +2,9 @@ lib, buildPythonPackage, fetchPypi, - pythonOlder, + setuptools, spark-parser, xdis, - nose, pytestCheckHook, hypothesis, six, @@ -14,20 +13,23 @@ buildPythonPackage rec { pname = "uncompyle6"; version = "3.9.2"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-b3CYD/4IpksRS2hxgy/QLYbJkDX4l2qPH4Eh2tb8pCU="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ spark-parser xdis ]; + pythonRelaxDeps = [ "spark-parser" ]; + nativeCheckInputs = [ - nose pytestCheckHook hypothesis six @@ -35,7 +37,7 @@ buildPythonPackage rec { # No tests are provided for versions past 3.8, # as the project only targets bytecode of versions <= 3.8 - doCheck = pythonOlder "3.9"; + doCheck = false; meta = { description = "A bytecode decompiler for Python versions 3.8 and below";