aboutsummaryrefslogtreecommitdiff
path: root/tools/fastp-app.nix
blob: bb716e222a131542015b704e5a254eaf0656fa70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv
, fetchFromGitHub
, zlib 
}:

stdenv.mkDerivation rec {
  name = "fastp-${version}";
  version = "0.20.0";

  src = fetchFromGitHub {
    owner = "OpenGene";
    repo = "fastp";
    rev = "v${version}";
    sha256 = "0y0qfp3j3gqnmlqskna8x43acss21vxwck287c4fagxlcaba0s30";
  };

  buildInputs = [ zlib ];

  installPhase = ''
    mkdir -p $out/bin
    cp fastp $out/bin
  '';
}