depot/third_party/nixpkgs/pkgs/tools/security/mokutil/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

42 lines
727 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
, pkg-config
, openssl
, efivar
, keyutils
, libxcrypt
}:
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
libxcrypt
];
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;
};
}