nixpkgs-suyu/pkgs/applications/science/biology/fastp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
660 B
Nix
Raw Normal View History

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-12-01 22:03:17 +01:00
version = "0.23.2";
2021-01-04 23:57:42 +01:00
src = fetchFromGitHub {
owner = "OpenGene";
repo = "fastp";
rev = "v${version}";
2021-12-01 22:03:17 +01:00
sha256 = "sha256-W1mXTfxD7/gHJhao6qqbNcyM3t2cfrUYiBYPJi/O1RI=";
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
'';
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;
};
}