|
|
|
@ -1,18 +1,18 @@ |
|
|
|
|
{ stdenv, lib, fetchFromGitHub, substituteAll |
|
|
|
|
, pkg-config, autoreconfHook, autoconf-archive, makeWrapper, patchelf |
|
|
|
|
, tpm2-tss, tpm2-tools, opensc, openssl, sqlite, python37, glibc, libyaml |
|
|
|
|
, tpm2-tss, tpm2-tools, opensc, openssl, sqlite, python3, glibc, libyaml |
|
|
|
|
, abrmdSupport ? true, tpm2-abrmd ? null |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "tpm2-pkcs11"; |
|
|
|
|
version = "1.7.0"; |
|
|
|
|
version = "1.8.0"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "tpm2-software"; |
|
|
|
|
repo = pname; |
|
|
|
|
rev = version; |
|
|
|
|
sha256 = "sha256-Z9w6mIFen8Lf1l59XrMtR/Je2BZZycsOLxKS0VS4r4c="; |
|
|
|
|
sha256 = "sha256-f5wi0nIM071yaQCwPkY1agKc7OEQa/IxHJc4V2i0Q9I="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = lib.singleton ( |
|
|
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
]; |
|
|
|
|
buildInputs = [ |
|
|
|
|
tpm2-tss tpm2-tools opensc openssl sqlite libyaml |
|
|
|
|
(python37.withPackages (ps: [ ps.pyyaml ps.cryptography ps.pyasn1-modules ])) |
|
|
|
|
(python3.withPackages (ps: [ ps.pyyaml ps.cryptography ps.pyasn1-modules ps.tpm2-pytss ])) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
outputs = [ "out" "bin" "dev" ]; |
|
|
|
|