mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
pythonPackages.dask-gateway-server: init at 0.8.0
This commit is contained in:
parent
050ab81b07
commit
7b04c0ff13
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user