nixpkgs/pkgs/tools/system/efivar/default.nix
R. RyanTM 7f60464262 efivar: 35 -> 36 (#42282)
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
- /nix/store/9id78fkv7cf4bd6rwv06a0pz2dnr5ip3-efivar-36-bin/bin/efivar passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 36 with grep in /nix/store/9id78fkv7cf4bd6rwv06a0pz2dnr5ip3-efivar-36-bin
- directory tree listing: https://gist.github.com/f6b2229b6bfb146aa1c4be22eae3162b
- du listing: https://gist.github.com/e6239ef936ac1f133d5f4ccc6bc653f4
2018-06-24 19:18:21 +02:00

35 lines
780 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, popt }:
stdenv.mkDerivation rec {
name = "efivar-${version}";
version = "36";
outputs = [ "bin" "out" "dev" "man" ];
src = fetchFromGitHub {
owner = "rhinstaller";
repo = "efivar";
rev = version;
sha256 = "0r39kx6sqgpk8rz19g1sil4dp7r82d5g1wlkbw1czwas95s50y7n";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt ];
makeFlags = [
"prefix=$(out)"
"libdir=$(out)/lib"
"bindir=$(bin)/bin"
"mandir=$(man)/share/man"
"includedir=$(dev)/include"
"PCDIR=$(dev)/lib/pkgconfig"
];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Tools and library to manipulate EFI variables";
platforms = platforms.linux;
license = licenses.lgpl21;
};
}