2021-10-17 09:34:42 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-01-09 10:05:03 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, zlib
|
2021-10-17 09:34:42 +00:00
|
|
|
, libdeflate
|
|
|
|
, isa-l
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fastp";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.23.4";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenGene";
|
|
|
|
repo = "fastp";
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-hkCo8CiZNJuVcL9Eg/R7YzM7/FEcGEnovV325oWa7y8=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
2021-10-17 09:34:42 +00:00
|
|
|
buildInputs = [ zlib libdeflate isa-l ];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D fastp $out/bin/fastp
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-09 10:05:03 +00:00
|
|
|
description = "Ultra-fast all-in-one FASTQ preprocessor";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "fastp";
|
2021-01-09 10:05:03 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/OpenGene/fastp";
|
|
|
|
maintainers = with maintainers; [ jbedo ];
|
|
|
|
platforms = platforms.x86_64;
|
|
|
|
};
|
|
|
|
}
|