mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
53 lines
867 B
Nix
53 lines
867 B
Nix
{ lib
|
|
, aiohttp
|
|
, async_generator
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, httpx
|
|
, pytest
|
|
, pytestCheckHook
|
|
, sanic
|
|
, websockets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-sanic";
|
|
version = "1.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yunstanford";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-82Xq/jyxTXyZVHqn7G+S9K++InDdORCO9oFqgaIgY7s=";
|
|
};
|
|
|
|
buildInputs = [
|
|
pytest
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
async_generator
|
|
httpx
|
|
pytest
|
|
websockets
|
|
];
|
|
|
|
checkInputs = [
|
|
sanic
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pytest_sanic"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A pytest plugin for Sanic";
|
|
homepage = "https://github.com/yunstanford/pytest-sanic/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
broken = true; # 2021-11-04
|
|
};
|
|
}
|