aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix
blob: d2ca8d445e420157626449517c30d03a57bd7bd9 (plain)
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
, pytestrunner
, pytest
}:

buildPythonPackage rec {
  version = "2.0.1";
  pname = "PasteDeploy";

  src = fetchPypi {
    inherit pname version;
    sha256 = "d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a";
  };

  buildInputs = [ pytestrunner ];

  checkInputs = [ pytest ];

  # no tests in PyPI tarball
  # should be included with versions > 2.0.1
  doCheck = false;

  meta = with stdenv.lib; {
    description = "Load, configure, and compose WSGI applications and servers";
    homepage = "http://pythonpaste.org/deploy/";
    license = licenses.mit;
  };

}