ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / dask-gateway / default.nix
bloba9dae9638b933b3d4b8af3a06868eea01e3f97ca
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 = "2022.6.1";
14   format = "pyproject";
16   src = fetchFromGitHub {
17     owner = "dask";
18     repo = "dask-gateway";
19     rev = "refs/tags/${version}";
20     hash = "sha256-PsagZdEPpeuZH9hFL98xB5z6zOdd4Cx/skGQ0eOYkCA=";
21   };
23   sourceRoot = "source/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; [ costrouc ];
43   };