nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 48 lines 904 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, aiohttp 6, pytest 7, pytest-asyncio 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-aiohttp"; 13 version = "1.0.4"; 14 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "39ff3a0d15484c01d1436cbedad575c6eafbf0f57cdf76fb94994c97b5b8c5a4"; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools-scm 24 ]; 25 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; 27 28 buildInputs = [ 29 pytest 30 ]; 31 32 propagatedBuildInputs = [ 33 aiohttp 34 pytest-asyncio 35 ]; 36 37 checkInputs = [ 38 pytestCheckHook 39 ]; 40 41 meta = with lib; { 42 homepage = "https://github.com/aio-libs/pytest-aiohttp/"; 43 changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/v${version}/CHANGES.rst"; 44 description = "Pytest plugin for aiohttp support"; 45 license = licenses.asl20; 46 maintainers = with maintainers; [ dotlambda ]; 47 }; 48}