pythonPackages.pytest-sanic: init at 1.0.0

This commit is contained in:
Chris Ostrouchov 2019-05-07 08:53:44 -04:00
parent b9ccbbffa7
commit 0ddf3fe7d8
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, aiohttp
, async_generator
}:
buildPythonPackage rec {
pname = "pytest-sanic";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "0vlaq6p9g2p1xj9wshmin58p1faf5h9rcxvmjapx26zv8n23rnm1";
};
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 ];
};
}

View File

@ -1654,6 +1654,8 @@ in {
pytest-relaxed = callPackage ../development/python-modules/pytest-relaxed { };
pytest-sanic = callPackage ../development/python-modules/pytest-sanic { };
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
pytest-flakes = callPackage ../development/python-modules/pytest-flakes { };