mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
28 lines
665 B
Nix
28 lines
665 B
Nix
{ lib, fetchpatch, buildPythonPackage, fetchPypi
|
|
, aiohttp, pytest, pytestcov, pytest-aiohttp
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiohttp_remotes";
|
|
version = "1.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1vv2ancxsaxlls9sinigjnrqyx95n7cphq37m8nwifkhvs0idv6a";
|
|
};
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
checkInputs = [ pytest pytestcov 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 ];
|
|
};
|
|
}
|