diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5c9f43c2870..8d7bbfece74 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18218,17 +18218,21 @@ in { }; paste = buildPythonPackage rec { - name = "paste-1.7.5.1"; - disabled = isPy3k; + name = "paste-${version}"; + version = "2.0.3"; src = pkgs.fetchurl { - url = mirror://pypi/P/Paste/Paste-1.7.5.1.tar.gz; - sha256 = "11645842ba8ec986ae8cfbe4c6cacff5c35f0f4527abf4f5581ae8b4ad49c0b6"; + url = "mirror://pypi/P/Paste/Paste-${version}.tar.gz"; + sha256 = "062jk0nlxf6lb2wwj6zc20rlvrwsnikpkh90y0dn8cjch93s6ii3"; }; - buildInputs = with self; [ nose ]; + checkInputs = with self; [ nose ]; + propagatedBuildInputs = with self; [ six ]; - doCheck = false; # some files required by the test seem to be missing + # Certain tests require network + checkPhase = '' + NOSE_EXCLUDE=test_ok,test_form,test_error,test_stderr,test_paste_website nosetests + ''; meta = { description = "Tools for using a Web Server Gateway Interface stack"; @@ -18266,7 +18270,7 @@ in { doCheck = false; buildInputs = with self; [ nose ]; - propagatedBuildInputs = with self; [ paste PasteDeploy cheetah argparse ]; + propagatedBuildInputs = with self; [ six paste PasteDeploy cheetah argparse ]; meta = { description = "A pluggable command-line frontend, including commands to setup package file layouts";