2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchpatch, buildPythonPackage, fetchPypi
|
2021-07-24 12:14:16 +00:00
|
|
|
, aiohttp, pytest, pytest-cov, pytest-aiohttp
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp_remotes";
|
2021-01-15 22:18:51 +00:00
|
|
|
version = "1.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-15 22:18:51 +00:00
|
|
|
sha256 = "1vv2ancxsaxlls9sinigjnrqyx95n7cphq37m8nwifkhvs0idv6a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
checkInputs = [ pytest pytest-cov pytest-aiohttp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|