Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
903 B
Nix
36 lines
903 B
Nix
{
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
lib,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mlxbf-bootctl";
|
|
version = "unstable-2025-01-16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mellanox";
|
|
repo = "mlxbf-bootctl";
|
|
rev = "278160ca8e08251cff5e7989e5a1010bd247a6ae";
|
|
hash = "sha256-qS35wCb8zvuF2Zs/5hPZkoZAapr7fwKQ/0ZOBPtrkRQ=";
|
|
};
|
|
|
|
installPhase = ''
|
|
install -D mlxbf-bootctl $out/bin/mlxbf-bootctl
|
|
'';
|
|
|
|
meta = {
|
|
description = "Control BlueField boot partitions";
|
|
homepage = "https://github.com/Mellanox/mlxbf-bootctl";
|
|
license = lib.licenses.bsd2;
|
|
changelog = "https://github.com/Mellanox/mlxbf-bootctl/releases/tag/${pname}-${version}";
|
|
# 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
|
|
thillux
|
|
];
|
|
};
|
|
}
|