about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiohttp-remotes/default.nix
blob: 7b97febc6ecb3a6fc97ca08a00461e6c44417142 (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
{ lib, buildPythonPackage, fetchPypi
, aiohttp, pytest, pytest-cov, pytest-aiohttp
}:

buildPythonPackage rec {
  pname = "aiohttp_remotes";
  version = "1.0.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1vv2ancxsaxlls9sinigjnrqyx95n7cphq37m8nwifkhvs0idv6a";
  };

  propagatedBuildInputs = [ aiohttp ];

  checkInputs = [ pytest pytest-cov pytest-aiohttp ];
  checkPhase = ''
    python -m pytest
  '';

  meta = with lib; {
    homepage = "https://github.com/wikibusiness/aiohttp-remotes";
    description = "A set of useful tools for aiohttp.web server";
    license = licenses.mit;
    maintainers = [ maintainers.qyliss ];
  };
}