summary refs log tree commit diff
path: root/pkgs/development/python-modules/threadpool
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-29 17:25:58 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-30 00:51:23 -0400
commit6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c (patch)
treeb44bf6d6e745b4f49aa15b201b65fd08579de06c /pkgs/development/python-modules/threadpool
parent6fd3323d26b05b88fa811b0d0540534addf23856 (diff)
downloadnixpkgs-6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c.tar
nixpkgs-6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c.tar.gz
nixpkgs-6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c.tar.bz2
nixpkgs-6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c.tar.lz
nixpkgs-6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c.tar.xz
nixpkgs-6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c.tar.zst
nixpkgs-6afd56f61a3d3227e7ba6eaa032f9c0f04e70d1c.zip
pythonPackages.threadpool: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/threadpool')
-rw-r--r--pkgs/development/python-modules/threadpool/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/threadpool/default.nix b/pkgs/development/python-modules/threadpool/default.nix
new file mode 100644
index 00000000000..b3d7f58c66d
--- /dev/null
+++ b/pkgs/development/python-modules/threadpool/default.nix
@@ -0,0 +1,21 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+}:
+
+buildPythonPackage rec {
+  pname = "threadpool";
+  version = "1.3.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "197gzrxn9lbk0q1v079814c6s05cr4rwzyl6c1m6inkyif4yzr6c";
+  };
+
+  meta = with stdenv.lib; {
+    homepage = http://chrisarndt.de/projects/threadpool/;
+    description = "Easy to use object-oriented thread pool framework";
+    license = licenses.mit;
+  };
+
+}