1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/tools/security/simple-tpm-pk11/default.nix
Thomas Strobel 49fd0c32ff Add package: simple-tpm-pk11
Simple PKCS11 provider for TPM chips
2014-10-15 01:14:34 +02:00

28 lines
889 B
Nix

{ stdenv, fetchgit, trousers, openssl, opencryptoki, automake, autoconf, libtool }:
stdenv.mkDerivation rec {
name = "simple-tpm-pk11-2014-09-25";
src = fetchgit {
url = "https://github.com/ThomasHabets/simple-tpm-pk11";
rev = "f26f10e11344560ff6e1479e6795dc0e5dc49a26";
sha256 = "8c9501ceed0557113ce3facf7b22b8baf6f32ebb092008c089b80334ed03cec9";
};
buildInputs = [ trousers openssl opencryptoki automake autoconf libtool ];
preConfigure = "sh bootstrap.sh";
meta = with stdenv.lib; {
description = "Simple PKCS11 provider for TPM chips";
longDescription = ''
A simple library for using the TPM chip to secure SSH keys.
'';
homepage = https://github.com/ThomasHabets/simple-tpm-pk11;
license = stdenv.lib.licenses.asl20;
maintainers = with stdenv.lib; [ maintainers.tstrobel ];
platforms = platforms.unix;
};
}