mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 03:34:12 +00:00
Merge pull request #142194 from jbedo/fastp
This commit is contained in:
commit
94661f908a
@ -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
|
||||
|
27
pkgs/development/libraries/isa-l/default.nix
Normal file
27
pkgs/development/libraries/isa-l/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user