diff options
author | Roger Qiu <roger@formbay.com.au> | 2020-08-14 21:29:53 +1000 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-17 20:18:51 -0700 |
commit | 670c094af1a0c0ce83891e2f417658976bd9da35 (patch) | |
tree | 4529e30b8de74111e331aa34ac5fe7790f43a7b0 /pkgs/development/python-modules/aiojobs | |
parent | 7db9fd1dbca2007a36412fb184be7bc26eb685fc (diff) | |
download | nixpkgs-670c094af1a0c0ce83891e2f417658976bd9da35.tar nixpkgs-670c094af1a0c0ce83891e2f417658976bd9da35.tar.gz nixpkgs-670c094af1a0c0ce83891e2f417658976bd9da35.tar.bz2 nixpkgs-670c094af1a0c0ce83891e2f417658976bd9da35.tar.lz nixpkgs-670c094af1a0c0ce83891e2f417658976bd9da35.tar.xz nixpkgs-670c094af1a0c0ce83891e2f417658976bd9da35.tar.zst nixpkgs-670c094af1a0c0ce83891e2f417658976bd9da35.zip |
pythonPackages.aiojobs: init at 0.2.2
Diffstat (limited to 'pkgs/development/python-modules/aiojobs')
-rw-r--r-- | pkgs/development/python-modules/aiojobs/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiojobs/default.nix b/pkgs/development/python-modules/aiojobs/default.nix new file mode 100644 index 00000000000..68c34df1afb --- /dev/null +++ b/pkgs/development/python-modules/aiojobs/default.nix @@ -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 ]; + }; +} |