Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / python-modules / pytest-aiohttp / default.nix
blobc38ff23b6543195aeaa24122f6c7fd1671b7107f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   setuptools-scm,
7   wheel,
8   aiohttp,
9   pytest,
10   pytest-asyncio,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "pytest-aiohttp";
16   version = "1.0.5";
18   format = "pyproject";
20   __darwinAllowLocalNetworking = true;
22   src = fetchFromGitHub {
23     owner = "aio-libs";
24     repo = "pytest-aiohttp";
25     tag = "v${version}";
26     hash = "sha256-UACf0frMTOAgSsXQ0oqROHKR1zn4OfLPhd9MwBK002Y=";
27   };
29   nativeBuildInputs = [
30     setuptools
31     setuptools-scm
32     wheel
33   ];
35   buildInputs = [ pytest ];
37   propagatedBuildInputs = [
38     aiohttp
39     pytest-asyncio
40   ];
42   nativeCheckInputs = [ pytestCheckHook ];
44   meta = with lib; {
45     homepage = "https://github.com/aio-libs/pytest-aiohttp/";
46     changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/${src.rev}/CHANGES.rst";
47     description = "Pytest plugin for aiohttp support";
48     license = licenses.asl20;
49     maintainers = with maintainers; [ dotlambda ];
50   };