depot/third_party/nixpkgs/pkgs/development/python-modules/dask-gateway/default.nix
Default email eeb71630af Project import generated by Copybara.
GitOrigin-RevId: 636051e353461f073ac55d5d42c1ed062a345046
2022-11-02 23:02:43 +01:00

44 lines
915 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, dask
, distributed
, setuptools
}:
buildPythonPackage rec {
pname = "dask-gateway";
# update dask-gateway lock step with dask-gateway-server
version = "2022.6.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-gateway";
rev = "refs/tags/${version}";
hash = "sha256-PsagZdEPpeuZH9hFL98xB5z6zOdd4Cx/skGQ0eOYkCA=";
};
sourceRoot = "source/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; [ costrouc ];
};
}