12 stdenv.mkDerivation (finalAttrs: {
21 src = fetchFromGitHub {
24 rev = finalAttrs.version;
25 hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg=";
28 nativeBuildInputs = [ pkg-config ];
37 "PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config"
40 installFlags = [ "prefix=${placeholder "out"}" ];
43 tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
44 updateScript = nix-update-script { };
48 description = "Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
49 homepage = "https://github.com/rhboot/efibootmgr";
50 changelog = "https://github.com/rhboot/efibootmgr/releases/tag/${finalAttrs.version}";
51 license = lib.licenses.gpl2Only;
52 maintainers = with lib.maintainers; [ getchoo ];
53 mainProgram = "efibootmgr";
54 platforms = lib.platforms.linux;