2018-10-26 14:00:23 +00:00
|
|
|
{ lib, fetchpatch, buildPythonPackage, fetchPypi
|
|
|
|
, aiohttp, pytest, pytestcov, pytest-aiohttp
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp_remotes";
|
2021-01-14 22:55:42 +00:00
|
|
|
version = "1.0.0";
|
2018-10-26 14:00:23 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-14 22:55:42 +00:00
|
|
|
sha256 = "1vv2ancxsaxlls9sinigjnrqyx95n7cphq37m8nwifkhvs0idv6a";
|
2018-10-26 14:00:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytestcov pytest-aiohttp ];
|
|
|
|
checkPhase = ''
|
|
|
|
python -m pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/wikibusiness/aiohttp-remotes";
|
2018-10-26 14:00:23 +00:00
|
|
|
description = "A set of useful tools for aiohttp.web server";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.qyliss ];
|
|
|
|
};
|
|
|
|
}
|