pythonPackages.paste: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-25 20:58:15 -04:00
committed by Frederik Rietdijk
parent c11f847e24
commit 13f85532e7
3 changed files with 36 additions and 27 deletions

View File

@@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, six
}:
buildPythonPackage rec {
pname = "paste";
version = "2.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "062jk0nlxf6lb2wwj6zc20rlvrwsnikpkh90y0dn8cjch93s6ii3";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ six ];
# Certain tests require network
checkPhase = ''
NOSE_EXCLUDE=test_ok,test_form,test_error,test_stderr,test_paste_website nosetests
'';
meta = with stdenv.lib; {
description = "Tools for using a Web Server Gateway Interface stack";
homepage = http://pythonpaste.org/;
license = licenses.mit;
};
}