Merge pull request #142194 from jbedo/fastp

This commit is contained in:
Sandro 2021-10-19 13:48:08 +02:00 committed by GitHub
commit 94661f908a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 4 deletions

View File

@ -1,20 +1,23 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitHub
, zlib
, libdeflate
, isa-l
}:
stdenv.mkDerivation rec {
pname = "fastp";
version = "0.22.0";
version = "0.23.1";
src = fetchFromGitHub {
owner = "OpenGene";
repo = "fastp";
rev = "v${version}";
sha256 = "sha256-XR76hNz7iGXQYSBbBandHZ+oU3wyTf1AKlu9Xeq/GyE=";
sha256 = "sha256-vRJlNtg2JabBAUaX91Y04z8MdyxEnreBAlIHn7VB+u4=";
};
buildInputs = [ zlib ];
buildInputs = [ zlib libdeflate isa-l ];
installPhase = ''
install -D fastp $out/bin/fastp

View File

@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, nasm }:
stdenv.mkDerivation rec {
pname = "isa-l";
version = "2.30.0";
src = fetchFromGitHub {
owner = "intel";
repo = "isa-l";
rev = "v${version}";
sha256 = "sha256-AAuSdDQfDW4QFRu0jHwCZ+ZCSjoVqlQiSW1OOFye1Rs=";
};
nativeBuildInputs = [ nasm autoreconfHook ];
preConfigure = ''
export AS=nasm
'';
meta = with lib; {
description = "A collection of optimised low-level functions targeting storage applications";
license = licenses.bsd3;
homepage = "https://github.com/intel/isa-l";
maintainers = with maintainers; [ jbedo ];
platforms = platforms.all;
};
}

View File

@ -15547,6 +15547,8 @@ with pkgs;
hci = callPackage ../development/tools/continuous-integration/hci { };
isa-l = callPackage ../development/libraries/isa-l { };
niv = lib.getBin (haskell.lib.justStaticExecutables haskellPackages.niv);
ormolu = haskellPackages.ormolu.bin;