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

35 lines
646 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, six
2018-12-02 21:45:42 +00:00
, pytestrunner
, pytest
}:
buildPythonPackage rec {
pname = "paste";
version = "3.0.8";
src = fetchPypi {
2018-12-02 21:45:42 +00:00
pname = "Paste";
inherit version;
sha256 = "05w1sh6ky4d7pmdb8nv82n13w22jcn3qsagg5ih3hjmbws9kkwf4";
};
propagatedBuildInputs = [ six ];
2018-12-02 21:45:42 +00:00
checkInputs = [ pytestrunner pytest ];
# Certain tests require network
checkPhase = ''
2018-12-02 21:45:42 +00:00
py.test -k "not test_cgiapp and not test_proxy"
'';
meta = with stdenv.lib; {
description = "Tools for using a Web Server Gateway Interface stack";
homepage = http://pythonpaste.org/;
license = licenses.mit;
};
}