python3Packages.pytest-sanic: 1.6.2 -> 1.7.0

This commit is contained in:
Fabian Affolter 2021-03-07 22:11:56 +01:00
parent 870dbb751f
commit d7397e50dc

View File

@ -1,28 +1,41 @@
{ lib { lib
, buildPythonPackage
, fetchPypi
, pytest
, aiohttp
, async_generator , async_generator
, buildPythonPackage
, doCheck ? true
, fetchFromGitHub
, httpx
, pytest
, pytestCheckHook
, sanic
, websockets
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-sanic"; pname = "pytest-sanic";
version = "1.6.2"; version = "1.7.0";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "yunstanford";
sha256 = "6428ed8cc2e6cfa05b92689a8589149aacdc1f0640fcf9673211aa733e6a5209"; repo = pname;
rev = "v${version}";
sha256 = "1zpgnw1lqbll59chv4hgcn31mdql1nv4gw9crbihky3ly3d3ncqi";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
pytest
aiohttp
async_generator async_generator
httpx
pytest
websockets
]; ];
# circular dependency on sanic checkInputs = [
doCheck = false; sanic
pytestCheckHook
];
inherit doCheck;
pythonImportsCheck = [ "pytest_sanic" ];
meta = with lib; { meta = with lib; {
description = "A pytest plugin for Sanic"; description = "A pytest plugin for Sanic";