blob: d3dd321cb03aeede8bd8fdbe5408d1182f74a5b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, webob
, six
, beautifulsoup4
, waitress
, mock
, pyquery
, wsgiproxy2
, PasteDeploy
, coverage
}:
buildPythonPackage rec {
version = "2.0.20";
pname = "webtest";
src = fetchPypi {
inherit pname version;
sha256 = "0bv0qhdjakdsdgj4sk21gnpp8xp8bga4x03p6gjb83ihrsb7n4xv";
};
preConfigure = ''
substituteInPlace setup.py --replace "nose<1.3.0" "nose"
'';
propagatedBuildInputs = [ nose webob six beautifulsoup4 waitress mock pyquery wsgiproxy2 PasteDeploy coverage ];
meta = with stdenv.lib; {
description = "Helper to test WSGI applications";
homepage = http://webtest.readthedocs.org/en/latest/;
license = licenses.mit;
};
}
|