Files
nixpkgs/pkgs/development/python-modules/dask-gateway/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

46 lines
879 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";
tag = 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 = {
description = "Client library for interacting with a dask-gateway server";
homepage = "https://gateway.dask.org/";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}