1{ lib 2, aiohttp 3, async_generator 4, buildPythonPackage 5, fetchFromGitHub 6, httpx 7, pytest 8, pytestCheckHook 9, sanic 10, websockets 11}: 12 13buildPythonPackage rec { 14 pname = "pytest-sanic"; 15 version = "1.9.1"; 16 17 src = fetchFromGitHub { 18 owner = "yunstanford"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "sha256-82Xq/jyxTXyZVHqn7G+S9K++InDdORCO9oFqgaIgY7s="; 22 }; 23 24 buildInputs = [ 25 pytest 26 ]; 27 28 propagatedBuildInputs = [ 29 aiohttp 30 async_generator 31 httpx 32 pytest 33 websockets 34 ]; 35 36 checkInputs = [ 37 sanic 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ 42 "pytest_sanic" 43 ]; 44 45 meta = with lib; { 46 description = "A pytest plugin for Sanic"; 47 homepage = "https://github.com/yunstanford/pytest-sanic/"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ costrouc ]; 50 broken = true; # 2021-11-04 51 }; 52}