git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #152961 from Etjean/add-nextflow

nextflow: init at 21.10.6

commitbfae513f074bd7db62e6f2a493b6b9bbde270e90 authorIvv <41924494+IvarWithoutBones@users.noreply.github.com> dateThu 10 Feb 2022, 21:15 (5 years ago) parent1a7a5bf1fb2d1e
3 files changed+64
maintainers/maintainer-list.nix+6 pkgs/development/interpreters/nextflow/default.nix+56 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -3743,6 +3743,12 @@
37433743 githubId = 222467;
37443744 name = "Dmitry Ivanov";
37453745 };
3746+ Etjean = {
3747+ email = "et.jean@outlook.fr";
3748+ github = "Etjean";
3749+ githubId = 32169529;
3750+ name = "Etienne Jean";
3751+ };
37463752 etu = {
37473753 email = "elis@hirwing.se";
37483754 matrix = "@etu:semi.social";
pkgs/development/interpreters/nextflow/default.nixnew file+56
@@ -0,0 +1,56 @@
1+{ lib
2+, stdenv
3+, fetchurl
4+, makeWrapper
5+, jre
6+, wget
7+, which
8+, gnused
9+, gawk
10+, coreutils
11+}:
12+
13+stdenv.mkDerivation rec {
14+ pname = "nextflow";
15+ version = "21.10.6";
16+
17+ src = fetchurl {
18+ url = "https://github.com/nextflow-io/nextflow/releases/download/v${version}/nextflow-${version}-all";
19+ sha256 = "0l9hi51vrhvfx3px2pxw7lp4h21n8ks50x4icfk3hbgl2hwf7fvx";
20+ };
21+
22+ nativeBuildInputs = [ makeWrapper ];
23+ buildInputs = [ jre wget which gnused gawk coreutils ];
24+
25+ dontUnpack = true;
26+
27+ installPhase = ''
28+ runHook preInstall
29+
30+ mkdir -p $out/bin
31+ install -Dm755 $src $out/bin/nextflow
32+
33+ runHook postInstall
34+ '';
35+
36+ postFixup = ''
37+ wrapProgram $out/bin/nextflow --prefix PATH : ${lib.makeBinPath buildInputs}
38+ '';
39+
40+ meta = with lib; {
41+ description = "A DSL for data-driven computational pipelines";
42+ longDescription = ''
43+ Nextflow is a bioinformatics workflow manager that enables the development of portable and reproducible workflows.
44+
45+ It supports deploying workflows on a variety of execution platforms including local, HPC schedulers, AWS Batch, Google Cloud Life Sciences, and Kubernetes.
46+
47+ Additionally, it provides support for manage your workflow dependencies through built-in support for Conda, Docker, Singularity, and Modules.
48+ '';
49+ homepage = "https://www.nextflow.io/";
50+ changelog = "https://github.com/nextflow-io/nextflow/releases";
51+ license = licenses.asl20;
52+ maintainers = [ maintainers.Etjean ];
53+ mainProgram = "nextflow";
54+ platforms = platforms.unix;
55+ };
56+}
pkgs/top-level/all-packages.nix+2
@@ -13666,6 +13666,8 @@ with pkgs;
1366613666
1366713667 mujs = callPackage ../development/interpreters/mujs { };
1366813668
13669+ nextflow = callPackage ../development/interpreters/nextflow { };
13670+
1366913671 ngn-k = callPackage ../development/interpreters/ngn-k { };
1367013672
1367113673 obb = callPackage ../development/interpreters/clojure/obb.nix { };