libtpms: 0.7.4 -> 0.8.0 (#114491)
* libtpms: 0.7.4 -> 0.8.0 * libtpms: tpm2 support is out of experimental Since db80bd9ea16894a1902c3ab787aea9d58e7d1e85 commit, tpm2 support is not experimental anymore Signed-off-by: Arthur Gautier <baloo@superbaloo.net> * libtpms: remove extraneous output Nothing was put in the $out output, remove the $lib and put everything that was in it in the $out. Signed-off-by: Arthur Gautier <baloo@superbaloo.net> Co-authored-by: R. RyanTM <ryantm-bot@ryantm.com>
This commit is contained in:
co-authored by
R. RyanTM
parent
3371fe2c9b
commit
1cd06e59e0
@@ -3,18 +3,17 @@
|
||||
, fetchFromGitHub
|
||||
, pkg-config, autoreconfHook
|
||||
, openssl, perl
|
||||
, tpm2Support ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtpms";
|
||||
version = "0.7.4";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stefanberger";
|
||||
repo = "libtpms";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-nZSBD3WshlZHVMBFmDBBdFkhBjNgtASfg6+lYOOAhZ8=";
|
||||
sha256 = "sha256-/zvMXdAOb4J3YaqdVJvTUI1/JFC0OKwgiYwYgYB62Y4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -24,14 +23,13 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
outputs = [ "out" "lib" "man" "dev" ];
|
||||
outputs = [ "out" "man" "dev" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-openssl"
|
||||
] ++ lib.optionals tpm2Support [
|
||||
"--with-tpm2" # TPM2 support is flagged experimental by upstream
|
||||
"--with-tpm2"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user