1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/tools/security/tpm2-tools/default.nix
R. RyanTM 9e85956c0d tpm2-tools: 3.1.4 -> 3.2.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tpm2-tools/versions
2019-07-02 18:53:01 -07:00

31 lines
834 B
Nix

{ stdenv, fetchurl, lib
, cmocka, curl, pandoc, pkgconfig, openssl, tpm2-tss }:
stdenv.mkDerivation rec {
pname = "tpm2-tools";
version = "3.2.0";
src = fetchurl {
url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "057gg84zly6gjp6ypj6bv6zzmnr77cqsygl8x0147cylwa1ywydd";
};
nativeBuildInputs = [ pandoc pkgconfig ];
buildInputs = [
curl openssl tpm2-tss
# For unit tests.
cmocka
];
configureFlags = [ "--enable-unit" ];
doCheck = true;
meta = with lib; {
description = "Command line tools that provide access to a TPM 2.0 compatible device";
homepage = https://github.com/tpm2-software/tpm2-tools;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ delroth ];
};
}