1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{ bionix , nixpkgs , flags ? null }: with nixpkgs; with lib; input: stdenv.mkDerivation { name = "fastqc-check"; buildInputs = [ bionix.fastqc.fastqc ]; buildCommand = '' mkdir $out fastqc \ -o $out \ ${optionalString (flags != null) flags} \ ${input} ''; }