nixpkgs/pkgs/by-name/ef/efibootmgr/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
936 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
efivar,
popt,
}:
2014-06-11 00:15:58 +01:00
stdenv.mkDerivation rec {
pname = "efibootmgr";
2022-10-31 14:25:09 +00:00
version = "18";
2015-06-19 06:34:43 +01:00
src = fetchFromGitHub {
2018-02-17 01:18:40 +00:00
owner = "rhboot";
2015-06-19 06:34:43 +01:00
repo = "efibootmgr";
rev = version;
2022-10-31 14:25:09 +00:00
hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg=";
};
2022-10-31 14:25:09 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [
efivar
popt
];
2022-10-31 14:25:09 +00:00
makeFlags = [
"EFIDIR=nixos"
"PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config"
];
2015-06-19 06:34:43 +01:00
installFlags = [ "prefix=${placeholder "out"}" ];
meta = {
description = "Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
homepage = "https://github.com/rhboot/efibootmgr";
changelog = "https://github.com/rhboot/efibootmgr/releases/tag/${src.rev}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ getchoo ];
platforms = lib.platforms.linux;
};
}