pythonPackages.dask-gateway-server: init at 0.8.0

This commit is contained in:
Chris Ostrouchov 2020-08-04 21:00:01 -04:00 committed by Jon
parent 050ab81b07
commit 7b04c0ff13
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, colorlog
, cryptography
, traitlets
, go
, isPy27
}:
buildPythonPackage rec {
pname = "dask-gateway-server";
# update dask-gateway-server lock step with dask-gateway
version = "0.8.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "272134933b7e2068cd89a17a5012c76a29fbd9e40a78164345a2b15353d4b40a";
};
nativeBuildInputs = [
go
];
propagatedBuildInputs = [
aiohttp
colorlog
cryptography
traitlets
];
preBuild = ''
export HOME=$(mktemp -d)
'';
# tests requires cluster for testing
doCheck = false;
pythonImportsCheck = [ "dask_gateway_server" ];
meta = with lib; {
description = "A multi-tenant server for securely deploying and managing multiple Dask clusters";
homepage = "https://gateway.dask.org/";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2741,6 +2741,10 @@ in {
dask-gateway = callPackage ../development/python-modules/dask-gateway { };
dask-gateway-server = callPackage ../development/python-modules/dask-gateway-server {
inherit (pkgs) go;
};
dask-glm = callPackage ../development/python-modules/dask-glm { };
dask-image = callPackage ../development/python-modules/dask-image { };