mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
45ec5898cb
was ts468 on github afaict and was actually a committer, but that account hasn't been active since early 2018
30 lines
846 B
Nix
30 lines
846 B
Nix
{ lib, stdenv, fetchFromGitHub, trousers, openssl, opencryptoki, autoreconfHook, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "simple-tpm-pk11";
|
|
version = "0.06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ThomasHabets";
|
|
repo = "simple-tpm-pk11";
|
|
rev = version;
|
|
sha256 = "0vpbaklr4r1a2am0pqcm6m41ph22mkcrq33y8ab5h8qkhkvhd6a6";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook libtool ];
|
|
buildInputs = [ trousers openssl opencryptoki ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with 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 = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|