567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
46 lines
844 B
Nix
46 lines
844 B
Nix
{
|
|
lib,
|
|
bottle,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
numpy,
|
|
pytestCheckHook,
|
|
pyyaml,
|
|
redis,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jug";
|
|
version = "2.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "luispedro";
|
|
repo = "jug";
|
|
tag = "v${version}";
|
|
hash = "sha256-zERCY9JxceBmhJbytfsm/6rDwipqQ1XjzY/2QFsEEEg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependenciesk = [ bottle ];
|
|
|
|
nativeCheckInputs = [
|
|
numpy
|
|
pytestCheckHook
|
|
pyyaml
|
|
redis
|
|
];
|
|
|
|
pythonImportsCheck = [ "jug" ];
|
|
|
|
meta = {
|
|
description = "Task-Based Parallelization Framework";
|
|
homepage = "https://jug.readthedocs.io/";
|
|
changelog = "https://github.com/luispedro/jug/blob/v${version}/ChangeLog";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ luispedro ];
|
|
};
|
|
}
|