97 lines
1.4 KiB
Nix
97 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
hatchling,
|
|
hatch-vcs,
|
|
|
|
# dependencies
|
|
aiohttp,
|
|
backoff,
|
|
bokeh,
|
|
boto3,
|
|
click,
|
|
dask,
|
|
distributed,
|
|
fabric,
|
|
filelock,
|
|
gilknocker,
|
|
httpx,
|
|
importlib-metadata,
|
|
invoke,
|
|
ipywidgets,
|
|
jmespath,
|
|
jsondiff,
|
|
paramiko,
|
|
pip,
|
|
pip-requirements-parser,
|
|
prometheus-client,
|
|
rich,
|
|
toml,
|
|
typing-extensions,
|
|
wheel,
|
|
|
|
# tests
|
|
versionCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coiled";
|
|
version = "1.96.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-iyjZGg7RNaguHVZFMSS65OiO0HC3bqZL7yeOaSGr+IE=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-vcs
|
|
];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
backoff
|
|
bokeh
|
|
boto3
|
|
click
|
|
dask
|
|
distributed
|
|
fabric
|
|
filelock
|
|
gilknocker
|
|
httpx
|
|
importlib-metadata
|
|
invoke
|
|
ipywidgets
|
|
jmespath
|
|
jsondiff
|
|
paramiko
|
|
pip
|
|
pip-requirements-parser
|
|
prometheus-client
|
|
rich
|
|
toml
|
|
typing-extensions
|
|
wheel
|
|
];
|
|
|
|
pythonImportsCheck = [ "coiled" ];
|
|
|
|
nativeCheckInputs = [
|
|
versionCheckHook
|
|
];
|
|
versionCheckProgramArg = "--version";
|
|
|
|
meta = {
|
|
description = "Python client for coiled.io dask clusters";
|
|
homepage = "https://www.coiled.io/";
|
|
license = lib.licenses.elastic20;
|
|
maintainers = with lib.maintainers; [ daspk04 ];
|
|
mainProgram = "coiled";
|
|
};
|
|
}
|