2017-05-30 16:47:00 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
|
|
|
, werkzeug
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-localserver";
|
2019-02-14 07:37:27 +00:00
|
|
|
version = "0.5.0";
|
2017-05-30 16:47:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:27 +00:00
|
|
|
sha256 = "3a5427909d1dfda10772c1bae4b9803679c0a8f04adb66c338ac607773bfefc2";
|
2017-05-30 16:47:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ werkzeug ];
|
|
|
|
|
2020-07-21 02:24:42 +01:00
|
|
|
# all tests access network: does not work in sandbox
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pytest_localserver" ];
|
2017-05-30 16:47:00 +01:00
|
|
|
|
2020-07-21 02:24:42 +01:00
|
|
|
meta = with lib; {
|
2017-05-30 16:47:00 +01:00
|
|
|
description = "Plugin for the pytest testing framework to test server connections locally";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/pytest-localserver";
|
2020-07-21 02:24:42 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siriobalmelli ];
|
2017-05-30 16:47:00 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|