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
1 changed files with 25 additions and 12 deletions

View File

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