tptp: 7.2.0 -> 9.1.0 (#430716)

authored by 7c6f434c and committed by GitHub be828131 5411fa7c

+13 -8
+13 -8
pkgs/by-name/tp/tptp/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 - yap, 5 + swi-prolog, 6 6 tcsh, 7 7 perl, 8 8 patchelf, 9 + curl, 9 10 }: 10 11 11 12 stdenv.mkDerivation rec { 12 13 pname = "TPTP"; 13 - version = "7.2.0"; 14 + version = "9.1.0"; 14 15 15 16 src = fetchurl { 16 17 urls = [ 17 - "http://tptp.cs.miami.edu/TPTP/Distribution/TPTP-v${version}.tgz" 18 - "http://tptp.cs.miami.edu/TPTP/Archive/TPTP-v${version}.tgz" 18 + "https://tptp.org/TPTP/Distribution/TPTP-v${version}.tgz" 19 + "https://tptp.org/TPTP/Archive/TPTP-v${version}.tgz" 19 20 ]; 20 - sha256 = "0yq8452b6mym4yscy46pshg0z2my8xi74b5bp2qlxd5bjwcrg6rl"; 21 + hash = "sha256-KylCpKEdjvXTzYU2MOi0FDrr4e6je2YB366+dxy3Xmo="; 21 22 }; 22 23 23 - nativeBuildInputs = [ patchelf ]; 24 + nativeBuildInputs = [ 25 + patchelf 26 + swi-prolog 27 + ]; 24 28 buildInputs = [ 25 29 tcsh 26 - yap 30 + swi-prolog 27 31 perl 28 32 ]; 29 33 ··· 40 44 substituteInPlace $sharedir/TPTP2X/tptp2X_install --replace /bin/mv mv 41 45 tcsh $sharedir/TPTP2X/tptp2X_install -default 42 46 43 - patchelf --interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $sharedir/Scripts/tptp4X 47 + patchelf --interpreter $(cat $NIX_CC/nix-support/dynamic-linker) --set-rpath ${lib.getLib curl}/lib $sharedir/Scripts/tptp4X 44 48 45 49 mkdir -p $out/bin 46 50 ln -s $sharedir/TPTP2X/tptp2X $out/bin ··· 60 64 platforms = platforms.all; 61 65 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 62 66 license = licenses.unfreeRedistributable; 67 + homepage = "https://tptp.org/TPTP/"; 63 68 }; 64 69 }