about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dask-gateway
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2020-08-04 20:59:41 -0400
committerJon <jonringer@users.noreply.github.com>2020-08-08 13:33:03 -0700
commit050ab81b07186f435703238846bd2c69efefc79e (patch)
treeb9857a8480d6768e85213930f5f5b5d3ac90baab /pkgs/development/python-modules/dask-gateway
parent7a18043f650065682ba6b8ea964393bdd790f485 (diff)
pythonPackages.dask-gateway: init at 0.8.0
Diffstat (limited to 'pkgs/development/python-modules/dask-gateway')
-rw-r--r--pkgs/development/python-modules/dask-gateway/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dask-gateway/default.nix b/pkgs/development/python-modules/dask-gateway/default.nix
new file mode 100644
index 0000000000000..8a4fe9e263a5b
--- /dev/null
+++ b/pkgs/development/python-modules/dask-gateway/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, aiohttp
+, dask
+, distributed
+}:
+
+buildPythonPackage rec {
+  pname = "dask-gateway";
+  # update dask-gateway lock step with dask-gateway-server
+  version = "0.8.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "519818f3598ddd726882c5a6bf7053941613d8517b80e8a2c28467e30d57da9b";
+  };
+
+  propagatedBuildInputs = [
+    aiohttp
+    dask
+    distributed
+  ];
+
+  # tests requires cluster for testing
+  doCheck = false;
+
+  pythonImportsCheck = [ "dask_gateway" ];
+
+  meta = with lib; {
+    description = "A client library for interacting with a dask-gateway server";
+    homepage = "https://gateway.dask.org/";
+    license = licenses.bsd3;
+    maintainers = [ maintainers.costrouc ];
+  };
+}