blob: 84dafca4e0c4e6e0a8fbcc6c5cf841e8c7391fcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ];
};
}
|