mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
45 lines
819 B
Nix
45 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 ];
|
|
};
|
|
}
|