Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a7ac72d80d67
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 389332116b6a
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 3, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    bagder Daniel Stenberg
    Copy the full SHA
    9e4f214 View commit details
  2. Merge pull request #108316 from fabaff/aiomultiprocess

    python3Packages.aiomultiprocess: init at 0.8.0
    prusnak authored Jan 3, 2021
    Copy the full SHA
    3893321 View commit details
Showing with 38 additions and 0 deletions.
  1. +36 −0 pkgs/development/python-modules/aiomultiprocess/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
36 changes: 36 additions & 0 deletions pkgs/development/python-modules/aiomultiprocess/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "aiomultiprocess";
version = "0.8.0";

src = fetchFromGitHub {
owner = "omnilib";
repo = pname;
rev = "v${version}";
sha256 = "0vkj1vgvlv828pi3sn0hjzdy9f0j63gljs2ylibbsaixa7mbkpvy";
};

checkInputs = [ pytestCheckHook ];

pytestFlagsArray = [ "aiomultiprocess/tests/*.py" ];
pythonImportsCheck = [ "aiomultiprocess" ];

meta = with lib; {
description = "Python module to improve performance";
longDescription = ''
aiomultiprocess presents a simple interface, while running a full
AsyncIO event loop on each child process, enabling levels of
concurrency never before seen in a Python application. Each child
process can execute multiple coroutines at once, limited only by
the workload and number of cores available.
'';
homepage = "https://github.com/omnilib/aiomultiprocess";
license = with licenses; [ mit ];
maintainers = [ maintainers.fab ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -237,6 +237,8 @@ in {

aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };

aiomultiprocess = callPackage ../development/python-modules/aiomultiprocess { };

aiomysql = callPackage ../development/python-modules/aiomysql { };

aionotify = callPackage ../development/python-modules/aionotify { };