2021-10-19 09:56:48 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-01-04 23:57:42 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, zlib
|
2021-10-19 09:56:48 +02:00
|
|
|
, libdeflate
|
|
|
|
, isa-l
|
2021-01-04 23:57:42 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fastp";
|
2021-10-19 09:56:48 +02:00
|
|
|
version = "0.23.1";
|
2021-01-04 23:57:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenGene";
|
|
|
|
repo = "fastp";
|
|
|
|
rev = "v${version}";
|
2021-10-19 09:56:48 +02:00
|
|
|
sha256 = "sha256-vRJlNtg2JabBAUaX91Y04z8MdyxEnreBAlIHn7VB+u4=";
|
2021-01-04 23:57:42 +01:00
|
|
|
};
|
|
|
|
|
2021-10-19 09:56:48 +02:00
|
|
|
buildInputs = [ zlib libdeflate isa-l ];
|
2021-01-04 23:57:42 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D fastp $out/bin/fastp
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2021-01-04 23:57:42 +01: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;
|
|
|
|
};
|
|
|
|
}
|