depot/third_party/nixpkgs/pkgs/development/python-modules/dask-gateway/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

44 lines
911 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, dask
, distributed
, setuptools
}:
buildPythonPackage rec {
pname = "dask-gateway";
# update dask-gateway lock step with dask-gateway-server
version = "2023.1.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-gateway";
rev = "refs/tags/${version}";
hash = "sha256-+YCHIfNq8E2rXO8b91Q1D21dVzNWnJZIKZeY4AETa7s=";
};
sourceRoot = "${src.name}/dask-gateway";
nativeBuildInputs = [ setuptools ];
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 = with maintainers; [ ];
};
}