verifast: 14.5, x86_64 linux only

Signed-off-by: Austin Seipp <aseipp@pobox.com>

+11 -15
+10 -14
pkgs/applications/science/logic/verifast/default.nix
··· 5 5 libPath = stdenv.lib.makeLibraryPath 6 6 [ stdenv.gcc.libc stdenv.gcc.gcc gtk gdk_pixbuf atk pango glib cairo 7 7 freetype fontconfig libxml2 gnome2.gtksourceview 8 - ]; 8 + ] + ":${stdenv.gcc.gcc}/lib64"; 9 9 10 - patchLib = x: extra: "patchelf --set-rpath ${libPath}:${extra} ${x}"; 11 - patchExe = x: extra: '' 10 + patchExe = x: '' 12 11 patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \ 13 - --set-rpath ${libPath}:${extra} ${x} 12 + --set-rpath ${libPath} ${x} 14 13 ''; 15 14 in 16 15 stdenv.mkDerivation rec { 17 16 name = "verifast-${version}"; 18 - version = "13.11.14"; 17 + version = "14.5"; 19 18 20 19 src = fetchurl { 21 - url = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/verifast-13.11.14.tar.gz"; 22 - sha256 = "1ahay7achjsfz59d3b6vl1v91gr5j34vb494isqw3fsw5l8jd9p7"; 20 + url = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/${name}-x64.tar.gz"; 21 + sha256 = "03y1s6s2j9vqgiad0vbxriipsypxaylxxd3q36n9rvrc3lf9xra9"; 23 22 }; 24 23 25 24 dontStrip = true; 25 + phases = "unpackPhase installPhase"; 26 26 installPhase = '' 27 27 mkdir -p $out/bin 28 28 cp -R bin $out/libexec 29 29 30 - ${patchLib "$out/libexec/libz3-gmp.so" "$out/libexec"} 31 - ${patchExe "$out/libexec/vfide-core" "$out/libexec"} 32 - ${patchExe "$out/libexec/verifast-core" "$out/libexec"} 33 - 30 + ${patchExe "$out/libexec/verifast-core"} 31 + ${patchExe "$out/libexec/vfide-core"} 34 32 ln -s $out/libexec/verifast-core $out/bin/verifast 35 33 ln -s $out/libexec/vfide-core $out/bin/vfide 36 34 ''; 37 35 38 - phases = "unpackPhase installPhase"; 39 - 40 36 meta = { 41 37 description = "Verification for C and Java programs via separation logic"; 42 38 homepage = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/"; 43 39 license = stdenv.lib.licenses.msrla; 44 - platforms = [ "i686-linux" ]; 40 + platforms = [ "x86_64-linux" ]; 45 41 maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 46 42 }; 47 43 }
+1 -1
pkgs/top-level/all-packages.nix
··· 10657 10657 10658 10658 tptp = callPackage ../applications/science/logic/tptp {}; 10659 10659 10660 - verifast = callPackage_i686 ../applications/science/logic/verifast {}; 10660 + verifast = callPackage ../applications/science/logic/verifast {}; 10661 10661 10662 10662 why3 = callPackage ../applications/science/logic/why3 {}; 10663 10663