tpm2-abrmd: init at 2.2.0

This commit is contained in:
Leon Schuermann 2019-10-26 13:45:30 +02:00 committed by Lassulus
parent b3e80604a7
commit 98f0fcf12b
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, lib
, tpm2-tss, pkgconfig, glib, which, dbus, cmocka }:
stdenv.mkDerivation rec {
pname = "tpm2-abrmd";
version = "2.2.0";
src = fetchurl {
url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "1lbfhyyh9k54r8s1h8ca2czxv4hg0yq984kdh3vqh3990aca0x9a";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
tpm2-tss glib which dbus cmocka
];
# Unit tests are currently broken as the check phase attempts to start a dbus daemon etc.
#configureFlags = [ "--enable-unit" ];
doCheck = false;
meta = with lib; {
description = "TPM2 resource manager, accessible via D-Bus";
homepage = https://github.com/tpm2-software/tpm2-tools;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ lschuermann ];
};
}

View File

@ -6621,6 +6621,8 @@ in
tpm-luks = callPackage ../tools/security/tpm-luks { };
tpm2-abrmd = callPackage ../tools/security/tpm2-abrmd { };
tpm2-tools = callPackage ../tools/security/tpm2-tools { };
trezord = callPackage ../servers/trezord { };