587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
59 lines
1 KiB
Nix
59 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, setuptools-scm
|
|
, kombu
|
|
, shortuuid
|
|
, celery
|
|
, funcy
|
|
, pytest-celery
|
|
, pytest-mock
|
|
, pytest-test-utils
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dvc-task";
|
|
version = "0.4.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iterative";
|
|
repo = "dvc-task";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-zSPv+eMGSsGXKtgi9r4EiGY1ZURXeJXWBKvR2GnfP8I=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
kombu
|
|
shortuuid
|
|
celery
|
|
funcy
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-celery
|
|
pytest-mock
|
|
pytest-test-utils
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"dvc_task"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Celery task queue used in DVC";
|
|
homepage = "https://github.com/iterative/dvc-task";
|
|
changelog = "https://github.com/iterative/dvc-task/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|