diff --git a/pkgs/development/python-modules/pastescript/default.nix b/pkgs/development/python-modules/pastescript/default.nix index 1fc44b80b6833..597d98bd961df 100644 --- a/pkgs/development/python-modules/pastescript/default.nix +++ b/pkgs/development/python-modules/pastescript/default.nix @@ -2,11 +2,10 @@ lib, buildPythonPackage, fetchPypi, - nose, - python, pytestCheckHook, six, paste, + setuptools, pastedeploy, pythonOlder, }: @@ -14,7 +13,7 @@ buildPythonPackage rec { pname = "pastescript"; version = "3.6.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -24,6 +23,8 @@ buildPythonPackage rec { hash = "sha256-HCLSt81TUWRr7tKMb3DrSipLklZR2a/Ko1AdBsq7UXE="; }; + build-system = [ setuptools ]; + propagatedBuildInputs = [ paste pastedeploy @@ -33,10 +34,7 @@ buildPythonPackage rec { # test suite seems to unset PYTHONPATH doCheck = false; - nativeCheckInputs = [ - nose - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTestPaths = [ "appsetup/testfiles" ];