about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-sanic/default.nix
blob: c760b6a5542a7a947f6209b30db0891421d4be1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 ];
  };
}