3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aiojobs/default.nix

44 lines
785 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2020-08-14 12:29:53 +01:00
, fetchPypi
, pythonOlder
2020-08-14 12:29:53 +01:00
, aiohttp
, pytestCheckHook
2020-08-14 12:29:53 +01:00
, pytest-aiohttp
, pygments
}:
buildPythonPackage rec {
pname = "aiojobs";
version = "0.3.0";
2020-08-14 12:29:53 +01:00
format = "flit";
disabled = pythonOlder "3.5";
2020-08-14 12:29:53 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-9mMdQtxDCPfYg6u9cNTpdvP8w1o7oejq5dSvSUCh4MM=";
2020-08-14 12:29:53 +01:00
};
nativeBuildInputs = [
pygments
];
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytestCheckHook
2020-08-14 12:29:53 +01:00
pytest-aiohttp
];
pythonImportsCheck = [ "aiojobs" ];
2020-08-14 12:29:53 +01:00
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 ];
};
}