lol

efibootmgr: 17 -> 18

+11 -16
+11 -16
pkgs/tools/system/efibootmgr/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, efivar, popt }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, efivar, popt }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "efibootmgr"; 5 - version = "17"; 6 - 7 - nativeBuildInputs = [ pkg-config ]; 8 - 9 - buildInputs = [ efivar popt ]; 5 + version = "18"; 10 6 11 7 src = fetchFromGitHub { 12 8 owner = "rhboot"; 13 9 repo = "efibootmgr"; 14 10 rev = version; 15 - sha256 = "1niicijxg59rsmiw3rsjwy4bvi1n42dynvm01lnp9haixdzdpq03"; 11 + hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg="; 16 12 }; 17 13 18 - patches = [ 19 - (fetchpatch { 20 - name = "remove-extra-decl.patch"; 21 - url = "https://github.com/rhboot/efibootmgr/commit/99b578501643377e0b1994b2a068b790d189d5ad.patch"; 22 - sha256 = "1sbijvlpv4khkix3vix9mbhzffj8lp8zpnbxm9gnzjz8yssz9p5h"; 23 - }) 14 + nativeBuildInputs = [ pkg-config ]; 15 + 16 + buildInputs = [ efivar popt ]; 17 + 18 + makeFlags = [ 19 + "EFIDIR=nixos" 20 + "PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config" 24 21 ]; 25 - 26 - makeFlags = [ "EFIDIR=nixos" "PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config" ]; 27 22 28 23 installFlags = [ "prefix=$(out)" ]; 29 24 30 25 meta = with lib; { 31 26 description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager"; 32 27 homepage = "https://github.com/rhboot/efibootmgr"; 33 - license = licenses.gpl2; 28 + license = licenses.gpl2Only; 34 29 maintainers = with maintainers; [ ]; 35 30 platforms = platforms.linux; 36 31 };