nixpkgs/pkgs/development/python-modules/jug/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

47 lines
743 B
Nix

{ lib
, bottle
, buildPythonPackage
, fetchPypi
, numpy
, pytestCheckHook
, pythonOlder
, pyyaml
, redis
}:
buildPythonPackage rec {
pname = "jug";
version = "2.2.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Jug";
inherit version;
hash = "sha256-3uK6mWaLEGPFoPuznU+OcnkjFZ+beDoIw0vOC4l5gRg=";
};
propagatedBuildInputs = [
bottle
];
nativeCheckInputs = [
numpy
pytestCheckHook
pyyaml
redis
];
pythonImportsCheck = [
"jug"
];
meta = with lib; {
description = "A Task-Based Parallelization Framework";
homepage = "https://jug.readthedocs.io/";
license = licenses.mit;
maintainers = with maintainers; [ luispedro ];
};
}