Files
nixpkgs/pkgs/development/python-modules/jug/default.nix
Ethan Carter Edwards d1fa8e685d python3Packages.jug: modernize
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2026-07-26 15:09:01 -04:00

49 lines
994 B
Nix

{
lib,
bottle,
buildPythonPackage,
fetchFromGitHub,
numpy,
pytestCheckHook,
pyyaml,
redis,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "jug";
version = "2.5.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "luispedro";
repo = "jug";
tag = "v${finalAttrs.version}";
hash = "sha256-YjBhA+yEdMQ/4yYf25kkXwbvw+ta9Nb4CX8Rnr0du6k=";
};
build-system = [ setuptools ];
dependencies = [ bottle ]; # needed for webstatus sub-command
nativeCheckInputs = [
numpy
pytestCheckHook
pyyaml
redis
];
pythonImportsCheck = [ "jug" ];
meta = {
description = "Task-Based Parallelization Framework";
homepage = "https://jug.readthedocs.io/";
downloadPage = "https://github.com/luispedro/jug";
changelog = "https://github.com/luispedro/jug/blob/v${finalAttrs.version}/ChangeLog";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ luispedro ];
};
})