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

authored by Nick Cao and committed by GitHub 671d4da0 366d0f6b

+28 -8
+28 -6
pkgs/development/libraries/isa-l/default.nix pkgs/by-name/is/isa-l/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 + 6 + # nativeBuildInputs 7 + nasm, 8 + autoreconfHook, 9 + 10 + versionCheckHook, 11 + 12 + # passthru 5 13 runCommand, 6 - autoreconfHook, 7 14 nix, 8 - nasm, 15 + pkgs, 16 + gitUpdater, 9 17 }: 10 18 11 19 stdenv.mkDerivation (finalAttrs: { 12 20 pname = "isa-l"; 13 - version = "2.31.0-unstable-2024-04-25"; 21 + version = "2.31.1"; 14 22 15 23 src = fetchFromGitHub { 16 24 owner = "intel"; 17 25 repo = "isa-l"; 18 - rev = "dbaf284e112bea1b90983772a3164e794b923aaf"; 19 - sha256 = "sha256-eM1K3uObb4eZq0nSfafltp5DuZIDwknUYj9CdLn14lY="; 26 + tag = "v${finalAttrs.version}"; 27 + hash = "sha256-pv0Aq1Yp/NkGN7KXJ4oQMSG36k5v9YnsELuATl86Zp4="; 20 28 }; 21 29 22 30 nativeBuildInputs = [ ··· 28 36 export AS=nasm 29 37 ''; 30 38 39 + nativeInstallCheckInputs = [ 40 + versionCheckHook 41 + ]; 42 + versionCheckProgram = "${placeholder "out"}/bin/igzip"; 43 + versionCheckProgramArg = [ "--version" ]; 44 + doInstallCheck = true; 45 + 31 46 passthru = { 32 47 tests = { 33 48 igzip = ··· 42 57 nativeBuildInputs = [ nix ]; 43 58 } 44 59 '' 45 - nix nar --extra-experimental-features nix-command pack ${../../../../lib} > "$out" 60 + nix nar --extra-experimental-features nix-command pack ${pkgs.path + "/lib"} > "$out" 46 61 ''; 47 62 meta = { 48 63 description = "Cross validation of igzip provided by isa-l with gzip"; ··· 68 83 touch "$out" 69 84 ''; 70 85 }; 86 + updateScript = gitUpdater { rev-prefix = "v"; }; 71 87 }; 72 88 73 89 meta = { ··· 75 91 mainProgram = "igzip"; 76 92 license = lib.licenses.bsd3; 77 93 homepage = "https://github.com/intel/isa-l"; 94 + changelog = "https://github.com/intel/isa-l/releases/tag/v${finalAttrs.version}"; 78 95 maintainers = with lib.maintainers; [ jbedo ]; 79 96 platforms = lib.platforms.all; 97 + badPlatforms = [ 98 + # <instantiation>:4:26: error: unexpected token in argument list 99 + # movk x7, p4_low_b1, lsl 16 100 + "aarch64-darwin" 101 + ]; 80 102 }; 81 103 })
-2
pkgs/top-level/all-packages.nix
··· 8679 8679 8680 8680 hci = callPackage ../development/tools/continuous-integration/hci { }; 8681 8681 8682 - isa-l = callPackage ../development/libraries/isa-l { }; 8683 - 8684 8682 niv = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.niv); 8685 8683 8686 8684 ormolu = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.ormolu);