depot/third_party/nixpkgs/pkgs/applications/science/misc/toil/default.nix
Default email 4cb23072fc Project import generated by Copybara.
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
2022-01-20 00:45:15 +01:00

46 lines
814 B
Nix

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