mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
bf995e3641
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ fetchFromGitHub
|
|
, lib
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
name = "uefisettings";
|
|
version = "0-unstable-2024-03-26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxboot";
|
|
repo = "uefisettings";
|
|
rev = "f90aed759b9c2217bea336e37ab5282616ece390";
|
|
hash = "sha256-Cik8uVdzhMmgXfx23axkUJBg8zd5afMgYvluN0BJsdo=";
|
|
};
|
|
|
|
cargoHash = "sha256-FCQ/1E6SZyVOOAlpqyaDWEZx0y0Wk3Caosvr48VamAA=";
|
|
|
|
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"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "CLI tool to read/get/extract and write/change/modify BIOS/UEFI settings";
|
|
homepage = "https://github.com/linuxboot/uefisettings";
|
|
license = with licenses; [ bsd3 ];
|
|
mainProgram = "uefisettings";
|
|
maintainers = with maintainers; [ surfaceflinger ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|