forked from mirrors/nixpkgs
8205819629
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/efibootmgr/versions. These checks were done: - built on NixOS - ran ‘/nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16/bin/efibootdump --help’ got 0 exit code - ran ‘/nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16/bin/efibootdump help’ got 0 exit code - ran ‘/nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16/bin/efibootmgr -h’ got 0 exit code - ran ‘/nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16/bin/efibootmgr --help’ got 0 exit code - ran ‘/nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16/bin/efibootmgr help’ got 0 exit code - ran ‘/nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16/bin/efibootmgr -V’ and found version 16 - ran ‘/nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16/bin/efibootmgr --version’ and found version 16 - found 16 with grep in /nix/store/vfs7k6wfqa5xci24ckn8i28qkksw7wam-efibootmgr-16 - directory tree listing: https://gist.github.com/d9d04d34e09782b7b051fbc60d7793aa
30 lines
759 B
Nix
30 lines
759 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, efivar, popt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "efibootmgr-${version}";
|
|
version = "16";
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ efivar popt ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rhboot";
|
|
repo = "efibootmgr";
|
|
rev = version;
|
|
sha256 = "0b27h8vf1b6laln5n0wk2hkzyyh87sxanj7wrz9kimyx03dcq6vi";
|
|
};
|
|
|
|
makeFlags = [ "EFIDIR=nixos" ];
|
|
|
|
installFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
|
|
homepage = https://github.com/rhboot/efibootmgr;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|