2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2021-01-04 22:57:42 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fastp";
|
|
|
|
version = "0.20.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenGene";
|
|
|
|
repo = "fastp";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-pANwppkO9pfV9vctB7HmNCzYRtf+Xt+5HMKzvFuvyFM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D fastp $out/bin/fastp
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-04 22:57:42 +00:00
|
|
|
description = "Ultra-fast all-in-one FASTQ preprocessor";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/OpenGene/fastp";
|
|
|
|
maintainers = with maintainers; [ jbedo ];
|
|
|
|
platforms = platforms.x86_64;
|
|
|
|
};
|
|
|
|
}
|