about summary refs log tree commit diff
path: root/pkgs/development/python-modules/paste/default.nix
blob: e8aceae062f511d870237dfe3aae7de8fc413b4c (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
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, six
}:

buildPythonPackage rec {
  pname = "paste";
  version = "2.0.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "062jk0nlxf6lb2wwj6zc20rlvrwsnikpkh90y0dn8cjch93s6ii3";
  };

  checkInputs = [ nose ];
  propagatedBuildInputs = [ six ];

  # Certain tests require network
  checkPhase = ''
    NOSE_EXCLUDE=test_ok,test_form,test_error,test_stderr,test_paste_website nosetests
  '';

  meta = with stdenv.lib; {
    description = "Tools for using a Web Server Gateway Interface stack";
    homepage = http://pythonpaste.org/;
    license = licenses.mit;
  };

}