mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Add package: simple-tpm-pk11
Simple PKCS11 provider for TPM chips
This commit is contained in:
parent
c549ac9c1a
commit
49fd0c32ff
27
pkgs/tools/security/simple-tpm-pk11/default.nix
Normal file
27
pkgs/tools/security/simple-tpm-pk11/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -4516,6 +4516,8 @@ let
|
|||||||
|
|
||||||
sigrok-cli = callPackage ../development/tools/sigrok-cli { };
|
sigrok-cli = callPackage ../development/tools/sigrok-cli { };
|
||||||
|
|
||||||
|
simpleTpmPk11 = callPackage ../tools/security/simple-tpm-pk11 { };
|
||||||
|
|
||||||
slimerjs = callPackage ../development/tools/slimerjs {};
|
slimerjs = callPackage ../development/tools/slimerjs {};
|
||||||
|
|
||||||
sloccount = callPackage ../development/tools/misc/sloccount { };
|
sloccount = callPackage ../development/tools/misc/sloccount { };
|
||||||
|
Loading…
Reference in New Issue
Block a user