tptp: 7.2.0 -> 9.1.0 (#430716)

This commit is contained in:
7c6f434c
2025-08-03 23:58:46 +00:00
committed by GitHub
+13 -8
View File
@@ -2,28 +2,32 @@
lib,
stdenv,
fetchurl,
yap,
swi-prolog,
tcsh,
perl,
patchelf,
curl,
}:
stdenv.mkDerivation rec {
pname = "TPTP";
version = "7.2.0";
version = "9.1.0";
src = fetchurl {
urls = [
"http://tptp.cs.miami.edu/TPTP/Distribution/TPTP-v${version}.tgz"
"http://tptp.cs.miami.edu/TPTP/Archive/TPTP-v${version}.tgz"
"https://tptp.org/TPTP/Distribution/TPTP-v${version}.tgz"
"https://tptp.org/TPTP/Archive/TPTP-v${version}.tgz"
];
sha256 = "0yq8452b6mym4yscy46pshg0z2my8xi74b5bp2qlxd5bjwcrg6rl";
hash = "sha256-KylCpKEdjvXTzYU2MOi0FDrr4e6je2YB366+dxy3Xmo=";
};
nativeBuildInputs = [ patchelf ];
nativeBuildInputs = [
patchelf
swi-prolog
];
buildInputs = [
tcsh
yap
swi-prolog
perl
];
@@ -40,7 +44,7 @@ stdenv.mkDerivation rec {
substituteInPlace $sharedir/TPTP2X/tptp2X_install --replace /bin/mv mv
tcsh $sharedir/TPTP2X/tptp2X_install -default
patchelf --interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $sharedir/Scripts/tptp4X
patchelf --interpreter $(cat $NIX_CC/nix-support/dynamic-linker) --set-rpath ${lib.getLib curl}/lib $sharedir/Scripts/tptp4X
mkdir -p $out/bin
ln -s $sharedir/TPTP2X/tptp2X $out/bin
@@ -60,5 +64,6 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfreeRedistributable;
homepage = "https://tptp.org/TPTP/";
};
}