Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dvc-task / default.nix
blobb84a19b494acf59300cef7fa0282c95a9d244ff5
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , setuptools-scm
6 , kombu
7 , shortuuid
8 , celery
9 , funcy
10 , pytest-celery
11 , pytest-mock
12 , pytest-test-utils
13 , pytestCheckHook
16 buildPythonPackage rec {
17   pname = "dvc-task";
18   version = "0.4.0";
19   pyproject = true;
21   disabled = pythonOlder "3.8";
23   src = fetchFromGitHub {
24     owner = "iterative";
25     repo = "dvc-task";
26     rev = "refs/tags/${version}";
27     hash = "sha256-zSPv+eMGSsGXKtgi9r4EiGY1ZURXeJXWBKvR2GnfP8I=";
28   };
30   build-system = [
31     setuptools-scm
32   ];
34   dependencies = [
35     kombu
36     shortuuid
37     celery
38     funcy
39   ];
41   nativeCheckInputs = [
42     pytest-celery
43     pytest-mock
44     pytest-test-utils
45     pytestCheckHook
46   ];
48   pythonImportsCheck = [
49     "dvc_task"
50   ];
52   meta = with lib; {
53     description = "Celery task queue used in DVC";
54     homepage = "https://github.com/iterative/dvc-task";
55     changelog = "https://github.com/iterative/dvc-task/releases/tag/${version}";
56     license = licenses.asl20;
57     maintainers = with maintainers; [ ];
58   };