Files
nixpkgs/pkgs/development/python-modules/dvc-task/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

57 lines
1.0 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 = [ ];
};
}