Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dask-gateway / default.nix
blob270999b55070fd9b600c87f986c0dc2b079e72a3
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aiohttp
5 , dask
6 , distributed
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "dask-gateway";
12   # update dask-gateway lock step with dask-gateway-server
13   version = "2023.1.1";
14   format = "pyproject";
16   src = fetchFromGitHub {
17     owner = "dask";
18     repo = "dask-gateway";
19     rev = "refs/tags/${version}";
20     hash = "sha256-+YCHIfNq8E2rXO8b91Q1D21dVzNWnJZIKZeY4AETa7s=";
21   };
23   sourceRoot = "${src.name}/dask-gateway";
25   nativeBuildInputs = [ setuptools ];
27   propagatedBuildInputs = [
28     aiohttp
29     dask
30     distributed
31   ];
33   # tests requires cluster for testing
34   doCheck = false;
36   pythonImportsCheck = [ "dask_gateway" ];
38   meta = with lib; {
39     description = "A client library for interacting with a dask-gateway server";
40     homepage = "https://gateway.dask.org/";
41     license = licenses.bsd3;
42     maintainers = with maintainers; [ ];
43   };