tpm2-tss: 2.3.2 -> 2.4.1
This commit is contained in:
parent
7e505053ba
commit
8e94e61aec
|
@ -1,32 +1,24 @@
|
||||||
{ stdenv, lib, fetchurl, fetchpatch
|
{ 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
|
, uthash, which
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tpm2-tss";
|
pname = "tpm2-tss";
|
||||||
version = "2.3.2";
|
version = "2.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
|
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 = [
|
nativeBuildInputs = [
|
||||||
doxygen perl pkgconfig
|
doxygen perl pkgconfig
|
||||||
# For unit tests and integration tests.
|
# For unit tests and integration tests.
|
||||||
ibm-sw-tpm2 iproute procps which
|
ibm-sw-tpm2 iproute procps which
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl json_c curl
|
||||||
# For unit tests and integration tests.
|
# For unit tests and integration tests.
|
||||||
cmocka uthash
|
cmocka uthash
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue