2024-02-29 20:09:43 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
name = "uefisettings";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0-unstable-2024-03-26";
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxboot";
|
|
|
|
repo = "uefisettings";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "f90aed759b9c2217bea336e37ab5282616ece390";
|
|
|
|
hash = "sha256-Cik8uVdzhMmgXfx23axkUJBg8zd5afMgYvluN0BJsdo=";
|
2024-02-29 20:09:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoHash = "sha256-FCQ/1E6SZyVOOAlpqyaDWEZx0y0Wk3Caosvr48VamAA=";
|
|
|
|
|
2024-04-21 15:54:59 +00: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-29 20:09:43 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI tool to read/get/extract and write/change/modify BIOS/UEFI settings";
|
2024-02-29 20:09:43 +00:00
|
|
|
homepage = "https://github.com/linuxboot/uefisettings";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
mainProgram = "uefisettings";
|
|
|
|
maintainers = with maintainers; [ surfaceflinger ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|