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