075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
46 lines
875 B
Nix
46 lines
875 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";
|
|
pyproject = true;
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|