summary refs log tree commit diff
path: root/pkgs/tools/security/tpm-tools/default.nix
blob: 6e7ff75a6a487c241997da6a19f3d1dc34603d1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, trousers, openssl }:

let
  version = "1.3.8";
in
stdenv.mkDerivation rec {
  name = "tpm-tools-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/trousers/tpm-tools/${version}/${name}.tar.gz";
    sha256 = "10za1gi89vi9m2lmm7jfzs281h55x1sbbm2bdgdh692ljpq4zsv6";
  };

  buildInputs = [ trousers openssl ];

  meta = with stdenv.lib; {
    description = "Management tools for TPM hardware";
    longDescription = ''
      tpm-tools is an open-source package designed to enable user and
      application enablement of Trusted Computing using a Trusted Platform
      Module (TPM), similar to a smart card environment.
    '';
    homepage    = http://sourceforge.net/projects/trousers/files/tpm-tools/;
    license     = licenses.cpl10;
    maintainers = [ maintainers.ak ];
    platforms   = platforms.unix;
  };
}