forked from mirrors/nixpkgs
toil: init at 5.4.0
This commit is contained in:
parent
aa4e92c5e2
commit
866fe59150
39
pkgs/applications/science/misc/toil/default.nix
Normal file
39
pkgs/applications/science/misc/toil/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "toil";
|
||||
version = "5.4.0";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "73c0648828bd3610c07b7648dd06d6ec27efefdb09473bf01d05d91eb899c9fd";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "docker = " "docker = 'docker' #" \
|
||||
--replace "addict = " "addict = 'addict' #"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
addict
|
||||
docker
|
||||
pytz
|
||||
pyyaml
|
||||
enlighten
|
||||
psutil
|
||||
python-dateutil
|
||||
dill
|
||||
];
|
||||
checkInputs = with python3Packages; [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [ "src/toil/test" ];
|
||||
pythonImportsCheck = [ "toil" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://toil.ucsc-cgl.org";
|
||||
license = with licenses; [ asl20 ];
|
||||
description = "Workflow engine written in pure Python";
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
|
@ -14349,6 +14349,8 @@ in
|
|||
|
||||
todoist-electron = callPackage ../applications/misc/todoist-electron { };
|
||||
|
||||
toil = callPackage ../applications/science/misc/toil { };
|
||||
|
||||
travis = callPackage ../development/tools/misc/travis { };
|
||||
|
||||
tree-sitter = callPackage ../development/tools/parsing/tree-sitter {
|
||||
|
|
Loading…
Reference in a new issue