mokutil: init at 0.5.0 (#163434)
This commit is contained in:
parent
ce02ac2c70
commit
e3e487390d
2 changed files with 42 additions and 0 deletions
40
pkgs/tools/security/mokutil/default.nix
Normal file
40
pkgs/tools/security/mokutil/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, openssl
|
||||
, efivar
|
||||
, keyutils
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mokutil";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lcp";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-dt41TCr6RkmE9H+NN8LWv3ogGsK38JtLjVN/b2mbGJs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
efivar
|
||||
keyutils
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/lcp/mokutil";
|
||||
description = "Utility to manipulate machines owner keys";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -774,6 +774,8 @@ with pkgs;
|
|||
mkShell = callPackage ../build-support/mkshell { };
|
||||
mkShellNoCC = mkShell.override { stdenv = stdenvNoCC; };
|
||||
|
||||
mokutil = callPackage ../tools/security/mokutil { };
|
||||
|
||||
nixBufferBuilders = import ../build-support/emacs/buffer.nix { inherit lib writeText; inherit (emacs.pkgs) inherit-local; };
|
||||
|
||||
nix-gitignore = callPackage ../build-support/nix-gitignore { };
|
||||
|
|
Loading…
Reference in a new issue