depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-localserver/default.nix
Default email a6d62be0d1 Project import generated by Copybara.
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
2021-12-26 18:43:05 +01:00

29 lines
706 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, werkzeug
}:
buildPythonPackage rec {
pname = "pytest-localserver";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "ef6f04193dc0f7e8df5b27b3a8834318fa12eaf025436d2a99afff1b73cde761";
};
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 ];
};
}