Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-localserver / default.nix
blobd550b4b274693d429ebd68dece1d7fe9a4287efc
1 { lib
2 , aiosmtpd
3 , buildPythonPackage
4 , fetchPypi
5 , werkzeug
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "pytest-localserver";
11   version = "0.8.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-ZlacNP7zGldQsW7/0c0SiKepC1kVXQBef5FqzNPe5PE=";
19   };
21   propagatedBuildInputs = [
22     aiosmtpd
23     werkzeug
24   ];
26   # all tests access network: does not work in sandbox
27   doCheck = false;
29   pythonImportsCheck = [
30     "pytest_localserver"
31   ];
33   meta = with lib; {
34     description = "Plugin for the pytest testing framework to test server connections locally";
35     homepage = "https://github.com/pytest-dev/pytest-localserver";
36     changelog = "https://github.com/pytest-dev/pytest-localserver/blob/v${version}/CHANGES";
37     license = licenses.mit;
38     maintainers = with maintainers; [ siriobalmelli ];
39   };