depot/third_party/nixpkgs/pkgs/development/python-modules/jug/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

46 lines
737 B
Nix

{ lib
, bottle
, buildPythonPackage
, fetchPypi
, numpy
, pytestCheckHook
, pythonOlder
, pyyaml
, redis
}:
buildPythonPackage rec {
pname = "jug";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Jug";
inherit version;
hash = "sha256-2Y9xRr5DyV9UqG6tiq9rYET2Z7LaPXfzwYKKGwR3OSs=";
};
propagatedBuildInputs = [
bottle
];
checkInputs = [
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 ];
};
}