depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-localserver/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

29 lines
706 B
Nix

{ 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 ];
};
}