nixpkgs-suyu/pkgs/applications/science/misc/snakemake/default.nix
2021-10-24 17:49:14 -04:00

52 lines
1.4 KiB
Nix

{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "snakemake";
version = "6.10.0";
propagatedBuildInputs = with python3Packages; [
appdirs
configargparse
connection-pool
datrie
docutils
filelock
GitPython
jinja2
jsonschema
nbformat
networkx
psutil
pulp
pygraphviz
pyyaml
ratelimiter
requests
smart-open
stopit
tabulate
toposort
wrapt
];
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "199a86c8d1fcfdb88c4271a1507b0ab371a15bc407f2dad9b0ab8c43438adff8";
};
doCheck = false; # Tests depend on Google Cloud credentials at ${HOME}/gcloud-service-key.json
meta = with lib; {
homepage = "https://snakemake.github.io";
license = licenses.mit;
description = "Python-based execution environment for make-like workflows";
longDescription = ''
Snakemake is a workflow management system that aims to reduce the complexity of
creating workflows by providing a fast and comfortable execution environment,
together with a clean and readable specification language in Python style. Snakemake
workflows are essentially Python scripts extended by declarative code to define
rules. Rules describe how to create output files from input files.
'';
maintainers = with maintainers; [ helkafen renatoGarcia veprbl ];
};
}