nixpkgs/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 08:56:48 +01:00
{ lib
, stdenv
2021-01-04 22:57:42 +00:00
, fetchFromGitHub
, zlib
2021-10-19 08:56:48 +01:00
, libdeflate
, isa-l
2021-01-04 22:57:42 +00:00
}:
stdenv.mkDerivation rec {
pname = "fastp";
2021-12-01 21:03:17 +00:00
version = "0.23.2";
2021-01-04 22:57:42 +00:00
src = fetchFromGitHub {
owner = "OpenGene";
repo = "fastp";
rev = "v${version}";
2021-12-01 21:03:17 +00:00
sha256 = "sha256-W1mXTfxD7/gHJhao6qqbNcyM3t2cfrUYiBYPJi/O1RI=";
2021-01-04 22:57:42 +00:00
};
2021-10-19 08:56:48 +01:00
buildInputs = [ zlib libdeflate isa-l ];
2021-01-04 22:57:42 +00:00
installPhase = ''
install -D fastp $out/bin/fastp
'';
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;
};
}