Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 zlib, 6 libdeflate, 7 isa-l, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "fastp"; 12 version = "1.0.1"; 13 14 src = fetchFromGitHub { 15 owner = "OpenGene"; 16 repo = "fastp"; 17 rev = "v${version}"; 18 sha256 = "sha256-NR41Hklcz2wOQ39OzQYaYs5+eGjSWxCtcTGDAixZCmg="; 19 }; 20 21 buildInputs = [ 22 zlib 23 libdeflate 24 isa-l 25 ]; 26 27 installPhase = '' 28 install -D fastp $out/bin/fastp 29 ''; 30 31 meta = with lib; { 32 description = "Ultra-fast all-in-one FASTQ preprocessor"; 33 mainProgram = "fastp"; 34 license = licenses.mit; 35 homepage = "https://github.com/OpenGene/fastp"; 36 maintainers = with maintainers; [ jbedo ]; 37 platforms = platforms.x86_64; 38 }; 39}