pythonPackages.aiojobs: init at 0.2.2
This commit is contained in:
parent
7db9fd1dbc
commit
670c094af1
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/aiojobs/default.nix
Normal file
45
pkgs/development/python-modules/aiojobs/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, aiohttp
|
||||
, pytest
|
||||
, pytest-aiohttp
|
||||
, pygments
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiojobs";
|
||||
version = "0.2.2";
|
||||
format = "flit";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01a0msjh4w58fd7jplmblh0hwgpzwjs5xkgqz3d0p5yv3cykwjwf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pygments
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytest-aiohttp
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/aio-libs/aiojobs";
|
||||
description = "Jobs scheduler for managing background task (asyncio)";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
|
@ -184,6 +184,8 @@ in {
|
|||
|
||||
aioamqp = callPackage ../development/python-modules/aioamqp { };
|
||||
|
||||
aiojobs = callPackage ../development/python-modules/aiojobs { };
|
||||
|
||||
aioredis = callPackage ../development/python-modules/aioredis { };
|
||||
|
||||
aiorun = callPackage ../development/python-modules/aiorun { };
|
||||
|
|
Loading…
Reference in a new issue