tpm2-tss: 2.3.2 -> 2.4.1

This commit is contained in:
Leon Schuermann 2020-06-16 12:46:53 +02:00 committed by Daniel Schaefer
parent 7e505053ba
commit 8e94e61aec

@ -1,32 +1,24 @@
{ stdenv, lib, fetchurl, fetchpatch
, cmocka, doxygen, ibm-sw-tpm2, iproute, openssl, perl, pkgconfig, procps
, cmocka, doxygen, ibm-sw-tpm2, iproute, openssl, perl, pkgconfig, procps, json_c, curl
, uthash, which
}:
stdenv.mkDerivation rec {
pname = "tpm2-tss";
version = "2.3.2";
version = "2.4.1";
src = fetchurl {
url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "19jg09sxy3aj4dc1yv32jjv0m62cnmhjlw02jbh4d4pk2439m4l2";
sha256 = "03g6l64nzkpadjyabmbhnhs8648iqb95fviinnpslggzp75azmsq";
};
patches = [
# Fix test failure. see https://github.com/tpm2-software/tpm2-tss/pull/1585
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/tpm2-software/tpm2-tss/pull/1585.patch";
sha256 = "0ak3l588ahzv3yx1gfa4sa6p74lsffxzkr23ppznm34wvlcci86n";
})
];
nativeBuildInputs = [
doxygen perl pkgconfig
# For unit tests and integration tests.
ibm-sw-tpm2 iproute procps which
];
buildInputs = [
openssl
openssl json_c curl
# For unit tests and integration tests.
cmocka uthash
];