anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / dask-gateway / default.nix
blobb3f63835c3a4f7285fcf34accf59e340dd3ce861
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   aiohttp,
6   dask,
7   distributed,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "dask-gateway";
13   # update dask-gateway lock step with dask-gateway-server
14   version = "2023.1.1";
15   format = "pyproject";
17   src = fetchFromGitHub {
18     owner = "dask";
19     repo = "dask-gateway";
20     rev = "refs/tags/${version}";
21     hash = "sha256-+YCHIfNq8E2rXO8b91Q1D21dVzNWnJZIKZeY4AETa7s=";
22   };
24   sourceRoot = "${src.name}/dask-gateway";
26   nativeBuildInputs = [ setuptools ];
28   propagatedBuildInputs = [
29     aiohttp
30     dask
31     distributed
32   ];
34   # tests requires cluster for testing
35   doCheck = false;
37   pythonImportsCheck = [ "dask_gateway" ];
39   meta = with lib; {
40     description = "Client library for interacting with a dask-gateway server";
41     homepage = "https://gateway.dask.org/";
42     license = licenses.bsd3;
43     maintainers = [ ];
44   };