2022-01-19 23:45:15 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
2021-07-24 12:14:16 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2021-07-24 12:14:16 +00:00
|
|
|
pname = "toil";
|
2022-01-19 23:45:15 +00:00
|
|
|
version = "5.6.0";
|
|
|
|
format = "setuptools";
|
2021-07-24 12:14:16 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
src = python3.pkgs.fetchPypi {
|
2021-07-24 12:14:16 +00:00
|
|
|
inherit pname version;
|
2022-01-19 23:45:15 +00:00
|
|
|
sha256 = "sha256-m6tzrRCCLULO+wB8htUlt0KESLm/vdIeTzBrihnAo/I=";
|
2021-07-24 12:14:16 +00:00
|
|
|
};
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2021-07-24 12:14:16 +00:00
|
|
|
addict
|
|
|
|
docker
|
|
|
|
pytz
|
|
|
|
pyyaml
|
|
|
|
enlighten
|
|
|
|
psutil
|
2022-01-19 23:45:15 +00:00
|
|
|
py-tes
|
2021-07-24 12:14:16 +00:00
|
|
|
python-dateutil
|
|
|
|
dill
|
|
|
|
];
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
checkInputs = with python3.pkgs; [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
"src/toil/test"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"toil"
|
|
|
|
];
|
2021-07-24 12:14:16 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-01-19 23:45:15 +00:00
|
|
|
description = "Workflow engine written in pure Python";
|
2021-07-24 12:14:16 +00:00
|
|
|
homepage = "https://toil.ucsc-cgl.org/";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|