isa-l: 2.31.0-unstable-2024-04-25 -> 2.31.1 (#371486)

This commit is contained in:
Nick Cao
2025-01-09 11:14:04 -05:00
committed by GitHub
2 changed files with 29 additions and 9 deletions
@@ -2,21 +2,29 @@
lib,
stdenv,
fetchFromGitHub,
runCommand,
autoreconfHook,
nix,
# nativeBuildInputs
nasm,
autoreconfHook,
versionCheckHook,
# passthru
runCommand,
nix,
pkgs,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "isa-l";
version = "2.31.0-unstable-2024-04-25";
version = "2.31.1";
src = fetchFromGitHub {
owner = "intel";
repo = "isa-l";
rev = "dbaf284e112bea1b90983772a3164e794b923aaf";
sha256 = "sha256-eM1K3uObb4eZq0nSfafltp5DuZIDwknUYj9CdLn14lY=";
tag = "v${finalAttrs.version}";
hash = "sha256-pv0Aq1Yp/NkGN7KXJ4oQMSG36k5v9YnsELuATl86Zp4=";
};
nativeBuildInputs = [
@@ -28,6 +36,13 @@ stdenv.mkDerivation (finalAttrs: {
export AS=nasm
'';
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/igzip";
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
tests = {
igzip =
@@ -42,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ nix ];
}
''
nix nar --extra-experimental-features nix-command pack ${../../../../lib} > "$out"
nix nar --extra-experimental-features nix-command pack ${pkgs.path + "/lib"} > "$out"
'';
meta = {
description = "Cross validation of igzip provided by isa-l with gzip";
@@ -68,6 +83,7 @@ stdenv.mkDerivation (finalAttrs: {
touch "$out"
'';
};
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = {
@@ -75,7 +91,13 @@ stdenv.mkDerivation (finalAttrs: {
mainProgram = "igzip";
license = lib.licenses.bsd3;
homepage = "https://github.com/intel/isa-l";
changelog = "https://github.com/intel/isa-l/releases/tag/v${finalAttrs.version}";
maintainers = with lib.maintainers; [ jbedo ];
platforms = lib.platforms.all;
badPlatforms = [
# <instantiation>:4:26: error: unexpected token in argument list
# movk x7, p4_low_b1, lsl 16
"aarch64-darwin"
];
};
})
-2
View File
@@ -8679,8 +8679,6 @@ with pkgs;
hci = callPackage ../development/tools/continuous-integration/hci { };
isa-l = callPackage ../development/libraries/isa-l { };
niv = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.niv);
ormolu = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.ormolu);