mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
ae666e137f
Diff: https://github.com/iterative/dvc-task/compare/refs/tags/0.2.0...0.2.1 Changelog: https://github.com/iterative/dvc-task/releases/tag/0.2.1
62 lines
1.1 KiB
Nix
62 lines
1.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.2.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iterative";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-DIjS56QDdjH8lp8yZE8UIccOM+OoafJK3DWZ1d/q29k=";
|
|
};
|
|
|
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
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; [ ];
|
|
};
|
|
}
|