1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, six
5, pytestrunner
6, pytest
7}:
8
9buildPythonPackage rec {
10 pname = "paste";
11 version = "3.4.1";
12
13 src = fetchPypi {
14 pname = "Paste";
15 inherit version;
16 sha256 = "1csqn7g9b05hp3fgd82355k4pb5rv12k9x6p2mdw2v01m385171p";
17 };
18
19 propagatedBuildInputs = [ six ];
20
21 checkInputs = [ pytestrunner pytest ];
22
23 # Certain tests require network
24 checkPhase = ''
25 py.test -k "not test_cgiapp and not test_proxy"
26 '';
27
28 meta = with stdenv.lib; {
29 description = "Tools for using a Web Server Gateway Interface stack";
30 homepage = "http://pythonpaste.org/";
31 license = licenses.mit;
32 };
33
34}