depot/third_party/nixpkgs/pkgs/tools/security/mokutil/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

40 lines
701 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
, pkg-config
, openssl
, efivar
, keyutils
}:
stdenv.mkDerivation rec {
pname = "mokutil";
version = "0.6.0";
src = fetchFromGitHub {
owner = "lcp";
repo = pname;
rev = version;
sha256 = "sha256-qwSEv14mMpaKmm6RM882JzEnBQG3loqsoglg4qTFWUg=";
};
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;
};
}