nixpkgs/pkgs/tools/system/efibootmgr/default.nix

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

33 lines
811 B
Nix
Raw Normal View History

2022-10-31 14:25:09 +00:00
{ lib, stdenv, fetchFromGitHub, pkg-config, efivar, popt }:
2014-06-10 23:15:58 +00:00
stdenv.mkDerivation rec {
pname = "efibootmgr";
2022-10-31 14:25:09 +00:00
version = "18";
2015-06-19 05:34:43 +00:00
src = fetchFromGitHub {
2018-02-17 01:18:40 +00:00
owner = "rhboot";
2015-06-19 05:34:43 +00: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 05:34:43 +00:00
installFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
homepage = "https://github.com/rhboot/efibootmgr";
2022-10-31 14:25:09 +00:00
license = licenses.gpl2Only;
2018-02-17 01:18:40 +00:00
maintainers = with maintainers; [ ];
2014-06-10 23:15:58 +00:00
platforms = platforms.linux;
};
}