3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/paste/default.nix

32 lines
645 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, six
}:
buildPythonPackage rec {
pname = "paste";
2018-11-04 10:35:08 +00:00
version = "3.0.3";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:08 +00:00
sha256 = "96b06ff055c4f22a4e5c164551179ed1fa8263bc3ce69b4347c617cd0fcf51f4";
};
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;
};
}