2019-05-07 13:53:44 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, aiohttp
|
|
|
|
, async_generator
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-sanic";
|
2020-06-06 07:47:27 +01:00
|
|
|
version = "1.6.1";
|
2019-05-07 13:53:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:27 +01:00
|
|
|
sha256 = "99e02c28cfa18a0a9af0cd151dddf0eca373279b9bac808733746f7ed7030ecc";
|
2019-05-07 13:53:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytest
|
|
|
|
aiohttp
|
|
|
|
async_generator
|
|
|
|
];
|
|
|
|
|
|
|
|
# circular dependency on sanic
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A pytest plugin for Sanic";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/yunstanford/pytest-sanic/";
|
2019-05-07 13:53:44 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|