aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytest-localserver/default.nix
blob: 577400b859eb34240134e300516b50fc7714a722 (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
{ buildPythonPackage
, lib
, fetchPypi
, werkzeug
}:

buildPythonPackage rec {
  pname = "pytest-localserver";
  version = "0.5.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3a5427909d1dfda10772c1bae4b9803679c0a8f04adb66c338ac607773bfefc2";
  };

  propagatedBuildInputs = [ werkzeug ];

  # all tests access network: does not work in sandbox
  doCheck = false;
  pythonImportsCheck = [ "pytest_localserver" ];

  meta = with lib; {
    description = "Plugin for the pytest testing framework to test server connections locally";
    homepage = "https://pypi.python.org/pypi/pytest-localserver";
    license = licenses.mit;
    maintainers = with maintainers; [ siriobalmelli ];
  };
}