1{ buildPythonPackage
2, lib
3, fetchPypi
4, werkzeug
5}:
6
7buildPythonPackage rec {
8 pname = "pytest-localserver";
9 version = "0.5.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "3a5427909d1dfda10772c1bae4b9803679c0a8f04adb66c338ac607773bfefc2";
14 };
15
16 propagatedBuildInputs = [ werkzeug ];
17
18 # all tests access network: does not work in sandbox
19 doCheck = false;
20 pythonImportsCheck = [ "pytest_localserver" ];
21
22 meta = with lib; {
23 description = "Plugin for the pytest testing framework to test server connections locally";
24 homepage = "https://pypi.python.org/pypi/pytest-localserver";
25 license = licenses.mit;
26 maintainers = with maintainers; [ siriobalmelli ];
27 };
28}
29