mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-11 03:08:04 +00:00
59 lines
1.3 KiB
Nix
59 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatch-fancy-pypi-readme,
|
|
hatchling,
|
|
python-daemon,
|
|
python-dateutil,
|
|
tenacity,
|
|
tornado,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "luigi";
|
|
version = "3.8.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "luigi";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-L6XrXTR05JXeCb2WT1ApNsCPix624PPKPIppEWw40MM=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-fancy-pypi-readme
|
|
];
|
|
|
|
pythonRelaxDeps = [ "tenacity" ];
|
|
|
|
dependencies = [
|
|
python-dateutil
|
|
tornado
|
|
python-daemon
|
|
tenacity
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [ "luigi" ];
|
|
|
|
# Requires tox, hadoop, and google cloud
|
|
doCheck = false;
|
|
|
|
# This enables accessing modules stored in cwd
|
|
makeWrapperArgs = [ "--prefix PYTHONPATH . :" ];
|
|
|
|
meta = {
|
|
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.
|
|
'';
|
|
homepage = "https://github.com/spotify/luigi";
|
|
changelog = "https://github.com/spotify/luigi/releases/tag/${finalAttrs.version}";
|
|
license = [ lib.licenses.asl20 ];
|
|
};
|
|
})
|