mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 10:34:54 +00:00

nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
825 B
Nix
30 lines
825 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, nasm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "isa-l";
|
|
version = "2.31.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "isa-l";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xBBtpjtWyba0DogdLobtuWmiiAHTXMK4oRnjYuTUCNk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ nasm autoreconfHook ];
|
|
|
|
preConfigure = ''
|
|
export AS=nasm
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Collection of optimised low-level functions targeting storage applications";
|
|
mainProgram = "igzip";
|
|
license = licenses.bsd3;
|
|
homepage = "https://github.com/intel/isa-l";
|
|
maintainers = with maintainers; [ jbedo ];
|
|
platforms = platforms.all;
|
|
broken = stdenv.isDarwin && stdenv.isAarch64; # does not build on M1 mac (asm/hwcap.h file not found) maybe needs gcc not clang?
|
|
};
|
|
}
|