85c17d3958
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/efivar/versions. These checks were done: - built on NixOS - ran ‘/nix/store/09zlj936d2jvjwdmj9c9f843fd86bcs3-efivar-35/bin/efivar -h’ got 0 exit code - ran ‘/nix/store/09zlj936d2jvjwdmj9c9f843fd86bcs3-efivar-35/bin/efivar --help’ got 0 exit code - ran ‘/nix/store/09zlj936d2jvjwdmj9c9f843fd86bcs3-efivar-35/bin/efivar help’ got 0 exit code - found 35 with grep in /nix/store/09zlj936d2jvjwdmj9c9f843fd86bcs3-efivar-35 - directory tree listing: https://gist.github.com/6f811428a47ee181fc412ef78ff64450
29 lines
619 B
Nix
29 lines
619 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, popt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "efivar-${version}";
|
|
version = "35";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rhinstaller";
|
|
repo = "efivar";
|
|
rev = version;
|
|
sha256 = "0hc7l5z0hw5472bm6p4d9n24bbggv9lgw7px1hqrdkfjghqfnlxh";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ popt ];
|
|
|
|
makeFlags = [
|
|
"prefix=$(out)"
|
|
"libdir=$(out)/lib"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Tools and library to manipulate EFI variables";
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|