nixpkgs/pkgs/tools/system/efibootmgr/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
809 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, efivar, popt }:
stdenv.mkDerivation rec {
pname = "efibootmgr";
version = "18";
src = fetchFromGitHub {
owner = "rhboot";
repo = "efibootmgr";
rev = version;
hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ efivar popt ];
makeFlags = [
"EFIDIR=nixos"
"PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config"
];
installFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
homepage = "https://github.com/rhboot/efibootmgr";
license = licenses.gpl2Only;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}