ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pytest-sanic / default.nix
blob2bce8eaecb719f3a5063676a06c7cfa3d2cdee15
1 { lib
2 , aiohttp
3 , async_generator
4 , buildPythonPackage
5 , fetchFromGitHub
6 , httpx
7 , pytest
8 , pytestCheckHook
9 , sanic
10 , websockets
13 buildPythonPackage rec {
14   pname = "pytest-sanic";
15   version = "1.9.1";
17   src = fetchFromGitHub {
18     owner = "yunstanford";
19     repo = pname;
20     rev = "v${version}";
21     sha256 = "sha256-82Xq/jyxTXyZVHqn7G+S9K++InDdORCO9oFqgaIgY7s=";
22   };
24   buildInputs = [
25     pytest
26   ];
28   propagatedBuildInputs = [
29     aiohttp
30     async_generator
31     httpx
32     pytest
33     websockets
34   ];
36   checkInputs = [
37     sanic
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [
42     "pytest_sanic"
43   ];
45   meta = with lib; {
46     description = "A pytest plugin for Sanic";
47     homepage = "https://github.com/yunstanford/pytest-sanic/";
48     license = licenses.asl20;
49     maintainers = with maintainers; [ costrouc ];
50     broken = true; # 2021-11-04
51   };