commit cd5f1a21489c839f7797b0ba22798360a6be8b41
parent b803b40233fe2d68372ecb9325c644d9d1e869c6
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 20 Oct 2024 03:15:12 +0400
Add bounded-pool-executor
Diffstat:
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -96,6 +96,7 @@ lib.makeScope newScope (
### DEVELOPMENT / PYTHON MODULES
+ bounded-pool-executor = callPackage ./development/python-modules/bounded-pool-executor { };
click-6-7 = callPackage ./development/python-modules/click { };
config-path = callPackage ./development/python-modules/config-path { };
contextily = callPackage ./development/python-modules/contextily { };
diff --git a/pkgs/development/python-modules/bounded-pool-executor/default.nix b/pkgs/development/python-modules/bounded-pool-executor/default.nix
@@ -0,0 +1,26 @@
+{
+ lib,
+ fetchFromGitHub,
+ python3Packages,
+}:
+
+python3Packages.buildPythonPackage rec {
+ pname = "bounded-pool-executor";
+ version = "0.0.3";
+
+ src = fetchFromGitHub {
+ owner = "mowshon";
+ repo = "bounded_pool_executor";
+ rev = "24b5a36ec4997c23ef377559ace6b3599af0f018";
+ hash = "sha256-83xdIz94C7BjU+2zubt1tcFVnRF0F9DSDrCYzPBLmVk=";
+ };
+
+ pythonImportsCheck = [ "bounded_pool_executor" ];
+
+ meta = {
+ description = "Bounded Process&Thread Pool Executor";
+ homepage = "https://github.com/mowshon/bounded_pool_executor";
+ license = lib.licenses.mit;
+ maintainers = [ lib.maintainers.sikmir ];
+ };
+}