Update Nvidia/Mellanox Packages 2025-06-07 (#423129)

nikstur 28f2a9f8 154b3b83

Changed files
+33 -20
pkgs
by-name
bf
bfscripts
ml
mlxbf-bootctl
mlxbf-bootimages
rs
rshim-user-space
os-specific
linux
mstflint_access
+15 -5
pkgs/by-name/bf/bfscripts/package.nix
···
{
-
stdenv,
fetchFromGitHub,
+
git,
lib,
python3,
+
rpm,
+
stdenv,
}:
let
···
in
stdenv.mkDerivation {
pname = "bfscripts";
-
version = "unstable-2023-05-15";
+
version = "unstable-2025-06-27";
src = fetchFromGitHub {
owner = "Mellanox";
repo = "bfscripts";
-
rev = "1da79f3ece7cdf99b2571c00e8b14d2e112504a4";
-
hash = "sha256-pTubrnZKEFmtAj/omycFYeYwrCog39zBDEszoCrsQNQ=";
+
rev = "ed8ede79fa002a2d83719a1bef6fbe0f7dcf37a4";
+
hash = "sha256-x+hpH6D5HTl39zD0vYj6wRFw881M4AcfM+ePcgXMst8=";
};
buildInputs = [
python3
];
+
nativeBuildInputs = [
+
git
+
rpm
+
];
+
installPhase = ''
${lib.concatStringsSep "\n" (map (b: "install -D ${b} $out/bin/${b}") binaries)}
'';
···
homepage = "https://github.com/Mellanox/bfscripts";
license = licenses.bsd2;
platforms = platforms.linux;
-
maintainers = with maintainers; [ nikstur ];
+
maintainers = with maintainers; [
+
nikstur
+
thillux
+
];
};
}
+7 -4
pkgs/by-name/ml/mlxbf-bootctl/package.nix
···
stdenv.mkDerivation rec {
pname = "mlxbf-bootctl";
-
version = "1.1-6";
+
version = "unstable-2025-01-16";
src = fetchFromGitHub {
owner = "Mellanox";
repo = "mlxbf-bootctl";
-
rev = "mlxbf-bootctl-${version}";
-
hash = "sha256-F49ZZtty+NARXA/doAFLhsQn4XkPW6GWLXGy4waIaM0=";
+
rev = "278160ca8e08251cff5e7989e5a1010bd247a6ae";
+
hash = "sha256-qS35wCb8zvuF2Zs/5hPZkoZAapr7fwKQ/0ZOBPtrkRQ=";
};
installPhase = ''
···
# This package is supposed to only run on a BlueField. Thus aarch64-linux
# is the only relevant platform.
platforms = [ "aarch64-linux" ];
-
maintainers = with lib.maintainers; [ nikstur ];
+
maintainers = with lib.maintainers; [
+
nikstur
+
thillux
+
];
};
}
+2 -2
pkgs/by-name/ml/mlxbf-bootimages/package.nix
···
stdenv.mkDerivation rec {
pname = "mlxbf-bootimages";
-
version = "4.10.0-13520";
+
version = "4.11.0-13611";
src = fetchurl {
url = "https://linux.mellanox.com/public/repo/bluefield/${version}/bootimages/prod/${pname}-signed_${version}_arm64.deb";
-
hash = "sha256-lPclxhKmn1hvGXWI1A+Q1yXK7FZzKUcOtBoXG6KRsCA=";
+
hash = "sha256-bZpZ6qnC3Q/BuOngS4ZoU6vjeekPjVom0KdDoJF5iko=";
};
nativeBuildInputs = [
+2 -2
pkgs/by-name/rs/rshim-user-space/package.nix
···
stdenv.mkDerivation rec {
pname = "rshim-user-space";
-
version = "2.2.4";
+
version = "2.4.2";
src = fetchFromGitHub {
owner = "Mellanox";
repo = "rshim-user-space";
rev = "rshim-${version}";
-
hash = "sha256-z0Uk520vsBERbeVtxBqXPXSWhO0sLD5GCQy1dQsJdEg=";
+
hash = "sha256-J/gCACqpUY+KraVOLWpd+UVyZ1f2o77EfpAgUVtZL9w=";
};
nativeBuildInputs = [
+7 -7
pkgs/os-specific/linux/mstflint_access/default.nix
···
enableParallelBuilding = true;
-
installPhase = ''
-
runHook preInstall
-
-
install -D ${pname}.ko $out/lib/modules/${kernel.modDirVersion}/extra/${pname}.ko
-
-
runHook postInstall
-
'';
+
installTargets = [ "modules_install" ];
+
installFlags = [
+
"-C"
+
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
+
"INSTALL_MOD_PATH=${placeholder "out"}"
+
"M=$(PWD)"
+
] ++ makeFlags;
meta = with lib; {
description = "Kernel module for Nvidia NIC firmware update";