1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytestrunner
5, pytest
6}:
7
8buildPythonPackage rec {
9 version = "2.0.1";
10 pname = "PasteDeploy";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a";
15 };
16
17 buildInputs = [ pytestrunner ];
18
19 checkInputs = [ pytest ];
20
21 # no tests in PyPI tarball
22 # should be included with versions > 2.0.1
23 doCheck = false;
24
25 meta = with stdenv.lib; {
26 description = "Load, configure, and compose WSGI applications and servers";
27 homepage = http://pythonpaste.org/deploy/;
28 license = licenses.mit;
29 };
30
31}