2019-05-07 14:53:44 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, aiohttp
|
|
|
|
, async_generator
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-sanic";
|
2019-10-24 08:47:45 +02:00
|
|
|
version = "1.1.2";
|
2019-05-07 14:53:44 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:45 +02:00
|
|
|
sha256 = "61a60e1b0456b2ceaeeb7173783f3450332c3609017fb6b18176b307f7186d3a";
|
2019-05-07 14:53:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytest
|
|
|
|
aiohttp
|
|
|
|
async_generator
|
|
|
|
];
|
|
|
|
|
|
|
|
# circular dependency on sanic
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A pytest plugin for Sanic";
|
|
|
|
homepage = https://github.com/yunstanford/pytest-sanic/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|