1{ lib, fetchpatch, buildPythonPackage, fetchPypi
2, aiohttp, pytest, pytestcov, pytest-aiohttp
3}:
4
5buildPythonPackage rec {
6 pname = "aiohttp_remotes";
7 version = "1.0.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "1vv2ancxsaxlls9sinigjnrqyx95n7cphq37m8nwifkhvs0idv6a";
12 };
13
14 propagatedBuildInputs = [ aiohttp ];
15
16 checkInputs = [ pytest pytestcov pytest-aiohttp ];
17 checkPhase = ''
18 python -m pytest
19 '';
20
21 meta = with lib; {
22 homepage = "https://github.com/wikibusiness/aiohttp-remotes";
23 description = "A set of useful tools for aiohttp.web server";
24 license = licenses.mit;
25 maintainers = [ maintainers.qyliss ];
26 };
27}