13 stdenv.mkDerivation (finalAttrs: {
14 pname = "tpm2-openssl";
16 src = fetchFromGitHub {
17 owner = "tpm2-software";
18 repo = "tpm2-openssl";
19 rev = finalAttrs.version;
20 hash = "sha256-CCTR7qBqI/y+jLBEEcgRanYOBNUYM/sH/hCqOLGA4QM=";
34 configureFlags = [ "--with-modulesdir=$$out/lib/ossl-modules" ];
37 echo ${finalAttrs.version} > VERSION
40 passthru.updateScript = nix-update-script { };
43 description = "OpenSSL Provider for TPM2 integration";
44 homepage = "https://github.com/tpm2-software/tpm2-openssl";
45 license = licenses.bsd3;
46 maintainers = with maintainers; [ stv0g ];
47 platforms = platforms.linux;