depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-localserver/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

34 lines
750 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, werkzeug
}:
buildPythonPackage rec {
pname = "pytest-localserver";
version = "0.5.1.post0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "5ec7f8e6534cf03887af2cb59e577f169ac0e8b2fd2c3e3409280035f386d407";
};
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://github.com/pytest-dev/pytest-localserver";
license = licenses.mit;
maintainers = with maintainers; [ siriobalmelli ];
};
}