summary refs log tree commit diff
path: root/pkgs/applications/science/misc/snakemake/default.nix
diff options
context:
space:
mode:
authorSebastian Meric de Bellefon <sebastian.meric.de.bellefon@umontreal.ca>2018-08-29 10:27:05 -0400
committerSebastian de Bellefon <arnaudpourseb@gmail.com>2018-09-01 09:18:19 -0400
commit93ce77af405b0be6a6f5f5108b8e59cbac97249d (patch)
tree1980fab526e07923f3edc60a68f96e53644d5fae /pkgs/applications/science/misc/snakemake/default.nix
parentc49e507bbc3286827d4610b08f1ccc18463e25b0 (diff)
downloadnixpkgs-93ce77af405b0be6a6f5f5108b8e59cbac97249d.tar
nixpkgs-93ce77af405b0be6a6f5f5108b8e59cbac97249d.tar.gz
nixpkgs-93ce77af405b0be6a6f5f5108b8e59cbac97249d.tar.bz2
nixpkgs-93ce77af405b0be6a6f5f5108b8e59cbac97249d.tar.lz
nixpkgs-93ce77af405b0be6a6f5f5108b8e59cbac97249d.tar.xz
nixpkgs-93ce77af405b0be6a6f5f5108b8e59cbac97249d.tar.zst
nixpkgs-93ce77af405b0be6a6f5f5108b8e59cbac97249d.zip
python.pkgs.snakemake: init at 5.2.2
Diffstat (limited to 'pkgs/applications/science/misc/snakemake/default.nix')
-rw-r--r--pkgs/applications/science/misc/snakemake/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/snakemake/default.nix b/pkgs/applications/science/misc/snakemake/default.nix
new file mode 100644
index 00000000000..6b0570814f2
--- /dev/null
+++ b/pkgs/applications/science/misc/snakemake/default.nix
@@ -0,0 +1,41 @@
+{
+  stdenv
+, python
+}:
+
+python.buildPythonPackage rec {
+  pname = "snakemake";
+  version = "5.2.2";
+
+  propagatedBuildInputs = with python; [
+    appdirs
+    ConfigArgParse
+    datrie
+    docutils
+    jsonschema
+    pyyaml
+    ratelimiter
+    requests
+    wrapt
+  ];
+
+  src = python.fetchPypi {
+    inherit pname version;
+    sha256 = "adffe7e24b4a613a9e8bf0a2a320b3cea236d86afb9132bb0bbbc08b8e35a3a3";
+  };
+
+  doCheck = false; # Tests depend on Google Cloud credentials at ${HOME}/gcloud-service-key.json
+
+  meta = with stdenv.lib; {
+    homepage = http://snakemake.bitbucket.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.
+    '';
+  };
+}