git.iko.soy/typeable/nixpkgs
on master help sign in
nextflow: init at 21.10.6
commit1fb2d1e7840454d33f4075b9eac3ea1d089bfa28 authorEtienne JEAN <et.jean@outlook.fr> dateMon 3 Jan 2022, 14:34 (5 years ago) parentf8cc214
2 files changed+58
pkgs/development/interpreters/nextflow/default.nix+56 pkgs/top-level/all-packages.nix+2
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
@@ -13575,6 +13575,8 @@ with pkgs;
1357513575
1357613576 mujs = callPackage ../development/interpreters/mujs { };
1357713577
13578+ nextflow = callPackage ../development/interpreters/nextflow { };
13579+
1357813580 ngn-k = callPackage ../development/interpreters/ngn-k { };
1357913581
1358013582 octave = callPackage ../development/interpreters/octave {