nixpkgs/pkgs/tools/security/mokutil/default.nix
2024-02-08 05:34:30 +00:00

43 lines
727 B
Nix

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