Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 64 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, celery, fetchFromGitHub, funcy, kombu, pytest-celery, pytest-mock, pytest-test-utils, pytestCheckHook, setuptools, setuptools-scm, shortuuid,}:
buildPythonPackage (finalAttrs: { pname = "dvc-task"; version = "0.40.2"; pyproject = true;
src = fetchFromGitHub { owner = "iterative"; repo = "dvc-task"; tag = finalAttrs.version; hash = "sha256-bRQJLncxCigYPEtlvKjUtKqhcBkB7erEtoJQ30yGamE="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ celery funcy kombu shortuuid ];
nativeCheckInputs = [ pytest-celery pytest-mock pytest-test-utils pytestCheckHook ];
pythonImportsCheck = [ "dvc_task" ];
disabledTests = [ # Test is flaky "test_start_already_exists" # Tests require a Docker setup "celery_setup_worker" ];
meta = { description = "Celery task queue used in DVC"; homepage = "https://github.com/iterative/dvc-task"; changelog = "https://github.com/iterative/dvc-task/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})