Commit bb9e8704 authored by Tom Fitzhenry's avatar Tom Fitzhenry
Browse files

tpm2-tools: 5.6 -> 5.7

parent 9ec87a1e
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -4,21 +4,13 @@

stdenv.mkDerivation rec {
  pname = "tpm2-tools";
  version = "5.6";
  version = "5.7";

  src = fetchurl {
    url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
    sha256 = "sha256-Usi8uq3KCCq/5et+5JZ9LWMthLFndnXy8HG20uwizsM=";
    sha256 = "sha256-OBDTa1B5JW9PL3zlUuIiE9Q7EDHBMVON+KLbw8VwmDo=";
  };

  patches = [
    # https://github.com/tpm2-software/tpm2-tools/pull/3271
    (fetchpatch {
      url = "https://github.com/tpm2-software/tpm2-tools/commit/b98be08f6f88b0cca9e0667760c4e1e5eb417fbd.patch";
      sha256 = "sha256-2sEam9i4gwscJhLwraX2EAjVM8Dh1vmNnG3zYsOF0fc=";
    })
  ];

  nativeBuildInputs = [ pandoc pkg-config makeWrapper ];
  buildInputs = [
    curl openssl tpm2-tss libuuid