nextflow: init at 21.10.6
This commit is contained in:
parent
f8cc214922
commit
1fb2d1e784
56
pkgs/development/interpreters/nextflow/default.nix
Normal file
56
pkgs/development/interpreters/nextflow/default.nix
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, makeWrapper
|
||||||
|
, jre
|
||||||
|
, wget
|
||||||
|
, which
|
||||||
|
, gnused
|
||||||
|
, gawk
|
||||||
|
, coreutils
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "nextflow";
|
||||||
|
version = "21.10.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/nextflow-io/nextflow/releases/download/v${version}/nextflow-${version}-all";
|
||||||
|
sha256 = "0l9hi51vrhvfx3px2pxw7lp4h21n8ks50x4icfk3hbgl2hwf7fvx";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
buildInputs = [ jre wget which gnused gawk coreutils ];
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install -Dm755 $src $out/bin/nextflow
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/nextflow --prefix PATH : ${lib.makeBinPath buildInputs}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A DSL for data-driven computational pipelines";
|
||||||
|
longDescription = ''
|
||||||
|
Nextflow is a bioinformatics workflow manager that enables the development of portable and reproducible workflows.
|
||||||
|
|
||||||
|
It supports deploying workflows on a variety of execution platforms including local, HPC schedulers, AWS Batch, Google Cloud Life Sciences, and Kubernetes.
|
||||||
|
|
||||||
|
Additionally, it provides support for manage your workflow dependencies through built-in support for Conda, Docker, Singularity, and Modules.
|
||||||
|
'';
|
||||||
|
homepage = "https://www.nextflow.io/";
|
||||||
|
changelog = "https://github.com/nextflow-io/nextflow/releases";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.Etjean ];
|
||||||
|
mainProgram = "nextflow";
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -13575,6 +13575,8 @@ with pkgs;
|
||||||
|
|
||||||
mujs = callPackage ../development/interpreters/mujs { };
|
mujs = callPackage ../development/interpreters/mujs { };
|
||||||
|
|
||||||
|
nextflow = callPackage ../development/interpreters/nextflow { };
|
||||||
|
|
||||||
ngn-k = callPackage ../development/interpreters/ngn-k { };
|
ngn-k = callPackage ../development/interpreters/ngn-k { };
|
||||||
|
|
||||||
octave = callPackage ../development/interpreters/octave {
|
octave = callPackage ../development/interpreters/octave {
|
||||||
|
|
Loading…
Reference in a new issue