Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ 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 = [ ]; };}