depot/third_party/nixpkgs/pkgs/development/python-modules/jug/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
819 B
Nix

{
lib,
bottle,
buildPythonPackage,
fetchPypi,
numpy,
pytestCheckHook,
pythonOlder,
pyyaml,
redis,
}:
buildPythonPackage rec {
pname = "jug";
version = "2.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Jug";
inherit version;
hash = "sha256-Y2TWqJi7GjmWUFpe1b150NgwRw9VKhCk5EoN5NDcPXU=";
};
propagatedBuildInputs = [ bottle ];
nativeCheckInputs = [
numpy
pytestCheckHook
pyyaml
redis
];
pythonImportsCheck = [ "jug" ];
meta = with lib; {
description = "Task-Based Parallelization Framework";
homepage = "https://jug.readthedocs.io/";
changelog = "https://github.com/luispedro/jug/blob/v${version}/ChangeLog";
license = licenses.mit;
maintainers = with maintainers; [ luispedro ];
};
}