2023-05-25 14:51:30 +00:00
|
|
|
{ lib, python3, fetchPypi }:
|
2018-10-05 00:56:01 +00:00
|
|
|
|
2021-01-29 16:39:06 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2018-10-05 00:56:01 +00:00
|
|
|
pname = "luigi";
|
2024-09-05 21:54:24 +00:00
|
|
|
version = "3.5.2";
|
2024-09-14 01:22:11 +00:00
|
|
|
pyproject = true;
|
2018-10-05 00:56:01 +00:00
|
|
|
|
2023-05-25 14:51:30 +00:00
|
|
|
src = fetchPypi {
|
2018-10-05 00:56:01 +00:00
|
|
|
inherit pname version;
|
2024-09-05 21:54:24 +00:00
|
|
|
hash = "sha256-0AD+am6nfJN2Z0/oegRawAw/z36+hBRlWgZjCqnbURE=";
|
2018-10-05 00:56:01 +00:00
|
|
|
};
|
|
|
|
|
2024-09-14 01:22:11 +00:00
|
|
|
build-system = [ python3.pkgs.setuptools ];
|
|
|
|
|
2024-10-26 00:28:30 +00:00
|
|
|
pythonRelaxDeps = [ "tenacity" ];
|
|
|
|
|
2024-09-14 01:22:11 +00:00
|
|
|
dependencies = with python3.pkgs; [ python-dateutil tornado python-daemon tenacity ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "luigi" ];
|
2018-10-05 00:56:01 +00:00
|
|
|
|
|
|
|
# Requires tox, hadoop, and google cloud
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-12-12 09:12:54 +00:00
|
|
|
# This enables accessing modules stored in cwd
|
2023-05-25 14:51:30 +00:00
|
|
|
makeWrapperArgs = [ "--prefix PYTHONPATH . :" ];
|
2018-12-12 09:12:54 +00:00
|
|
|
|
2018-10-05 00:56:01 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python package that helps you build complex pipelines of batch jobs";
|
|
|
|
longDescription = ''
|
|
|
|
Luigi handles dependency resolution, workflow management, visualization,
|
|
|
|
handling failures, command line integration, and much more.
|
|
|
|
'';
|
2020-06-14 21:18:33 +00:00
|
|
|
homepage = "https://github.com/spotify/luigi";
|
|
|
|
changelog = "https://github.com/spotify/luigi/releases/tag/${version}";
|
2023-05-25 14:51:30 +00:00
|
|
|
license = [ licenses.asl20 ];
|
2018-10-05 00:56:01 +00:00
|
|
|
maintainers = [ maintainers.bhipple ];
|
|
|
|
};
|
|
|
|
}
|