2024-12-10 20:27:17 +01:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
2025-04-13 15:43:09 +02:00
|
|
|
unstableGitUpdater,
|
2024-02-20 22:48:11 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
name = "uefisettings";
|
2025-04-13 15:51:24 +02:00
|
|
|
version = "0-unstable-2024-11-28";
|
2024-02-20 22:48:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxboot";
|
|
|
|
repo = "uefisettings";
|
2025-04-13 15:51:24 +02:00
|
|
|
rev = "f4d12fbdb32d1bc355dd37d5077add0a0a049be4";
|
|
|
|
hash = "sha256-f6CTmnY/BzIP/nfHa3Q4HWd1Ee+b7C767FB/8A4DUUM=";
|
2024-02-20 22:48:11 +01:00
|
|
|
};
|
|
|
|
|
2025-04-13 15:43:09 +02:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
2025-01-23 08:45:31 +01:00
|
|
|
cargoHash = "sha256-adCC5o17j6tuffymiLUn2SEPlrjMzYn6a74/4a9HI/w=";
|
2024-02-20 22:48:11 +01:00
|
|
|
|
2024-03-27 20:43:15 +01:00
|
|
|
checkFlags = [
|
|
|
|
# Expects filesystem access to /proc and rootfs
|
|
|
|
"--skip=hii::efivarfs::tests::test_get_current_mount_flags_for_proc"
|
|
|
|
"--skip=hii::efivarfs::tests::test_get_current_mount_flags_for_root"
|
|
|
|
# Expects FHS
|
|
|
|
"--skip=ilorest::blobstore::Transport"
|
|
|
|
"--skip=ilorest::chif::IloRestChif"
|
|
|
|
];
|
2024-02-20 22:48:11 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-07 09:40:42 +02:00
|
|
|
description = "CLI tool to read/get/extract and write/change/modify BIOS/UEFI settings";
|
2024-02-20 22:48:11 +01:00
|
|
|
homepage = "https://github.com/linuxboot/uefisettings";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
mainProgram = "uefisettings";
|
|
|
|
maintainers = with maintainers; [ surfaceflinger ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|