nixpkgs/pkgs/tools/security/mokutil/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
727 B
Nix
Raw Normal View History

2022-03-11 09:18:33 +00:00
{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
, pkg-config
, openssl
, efivar
, keyutils
2022-09-30 00:58:21 +00:00
, libxcrypt
2022-03-11 09:18:33 +00:00
}:
stdenv.mkDerivation rec {
pname = "mokutil";
2022-07-29 00:59:06 +00:00
version = "0.6.0";
2022-03-11 09:18:33 +00:00
src = fetchFromGitHub {
owner = "lcp";
repo = pname;
rev = version;
2022-07-29 00:59:06 +00:00
sha256 = "sha256-qwSEv14mMpaKmm6RM882JzEnBQG3loqsoglg4qTFWUg=";
2022-03-11 09:18:33 +00:00
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
openssl
efivar
keyutils
2022-09-30 00:58:21 +00:00
libxcrypt
2022-03-11 09:18:33 +00:00
];
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;
};
}