ibm-sw-tpm2: drop (#436634)
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
openssl,
|
||||
}:
|
||||
let
|
||||
makefile = if stdenv.hostPlatform.isDarwin then "makefile.mac" else "makefile";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ibm-sw-tpm2";
|
||||
version = "1682-unstable-2024-08-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kgoldman";
|
||||
repo = "ibmswtpm2";
|
||||
rev = "rev183-2024-08-02";
|
||||
hash = "sha256-D2GAkiePBow2iixYMOOeJrnh5hk2lO07dV++lK4X8qE=";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
sourceRoot = "${src.name}/src";
|
||||
|
||||
inherit makefile;
|
||||
|
||||
prePatch = ''
|
||||
# Fix hardcoded path to GCC.
|
||||
substituteInPlace ${makefile} --replace /usr/bin/gcc "${stdenv.cc}/bin/cc"
|
||||
|
||||
# Remove problematic default CFLAGS.
|
||||
substituteInPlace ${makefile} \
|
||||
--replace -Werror "" \
|
||||
--replace -O0 "" \
|
||||
--replace -ggdb ""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp tpm_server $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "IBM's Software TPM 2.0, an implementation of the TCG TPM 2.0 specification";
|
||||
mainProgram = "tpm_server";
|
||||
homepage = "https://sourceforge.net/projects/ibmswtpm2/";
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = [ ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -1172,6 +1172,7 @@ mapAliases {
|
||||
ibniz = throw "ibniz has been removed because it fails to compile and the source url is dead"; # Added 2025-04-07
|
||||
ib-tws = throw "ib-tws has been removed from nixpkgs as it was broken"; # Added 2024-07-15
|
||||
ib-controller = throw "ib-controller has been removed from nixpkgs as it was broken"; # Added 2024-07-15
|
||||
ibm-sw-tpm2 = throw "ibm-sw-tpm2 has been removed, as it was broken"; # Added 2025-08-25
|
||||
icuReal = throw "icuReal has been removed from nixpkgs as a mistake"; # Added 2025-02-18
|
||||
imagemagick7Big = throw "'imagemagick7Big' has been renamed to/replaced by 'imagemagickBig'"; # Converted to throw 2024-10-17
|
||||
imagemagick7 = throw "'imagemagick7' has been renamed to/replaced by 'imagemagick'"; # Converted to throw 2024-10-17
|
||||
|
||||
Reference in New Issue
Block a user