verifast: 14.5, x86_64 linux only
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
20f3cbd99e
commit
fe9133d522
@ -5,43 +5,39 @@ let
|
|||||||
libPath = stdenv.lib.makeLibraryPath
|
libPath = stdenv.lib.makeLibraryPath
|
||||||
[ stdenv.gcc.libc stdenv.gcc.gcc gtk gdk_pixbuf atk pango glib cairo
|
[ stdenv.gcc.libc stdenv.gcc.gcc gtk gdk_pixbuf atk pango glib cairo
|
||||||
freetype fontconfig libxml2 gnome2.gtksourceview
|
freetype fontconfig libxml2 gnome2.gtksourceview
|
||||||
];
|
] + ":${stdenv.gcc.gcc}/lib64";
|
||||||
|
|
||||||
patchLib = x: extra: "patchelf --set-rpath ${libPath}:${extra} ${x}";
|
patchExe = x: ''
|
||||||
patchExe = x: extra: ''
|
|
||||||
patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath ${libPath}:${extra} ${x}
|
--set-rpath ${libPath} ${x}
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "verifast-${version}";
|
name = "verifast-${version}";
|
||||||
version = "13.11.14";
|
version = "14.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/verifast-13.11.14.tar.gz";
|
url = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/${name}-x64.tar.gz";
|
||||||
sha256 = "1ahay7achjsfz59d3b6vl1v91gr5j34vb494isqw3fsw5l8jd9p7";
|
sha256 = "03y1s6s2j9vqgiad0vbxriipsypxaylxxd3q36n9rvrc3lf9xra9";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
phases = "unpackPhase installPhase";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -R bin $out/libexec
|
cp -R bin $out/libexec
|
||||||
|
|
||||||
${patchLib "$out/libexec/libz3-gmp.so" "$out/libexec"}
|
${patchExe "$out/libexec/verifast-core"}
|
||||||
${patchExe "$out/libexec/vfide-core" "$out/libexec"}
|
${patchExe "$out/libexec/vfide-core"}
|
||||||
${patchExe "$out/libexec/verifast-core" "$out/libexec"}
|
|
||||||
|
|
||||||
ln -s $out/libexec/verifast-core $out/bin/verifast
|
ln -s $out/libexec/verifast-core $out/bin/verifast
|
||||||
ln -s $out/libexec/vfide-core $out/bin/vfide
|
ln -s $out/libexec/vfide-core $out/bin/vfide
|
||||||
'';
|
'';
|
||||||
|
|
||||||
phases = "unpackPhase installPhase";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Verification for C and Java programs via separation logic";
|
description = "Verification for C and Java programs via separation logic";
|
||||||
homepage = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/";
|
homepage = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/";
|
||||||
license = stdenv.lib.licenses.msrla;
|
license = stdenv.lib.licenses.msrla;
|
||||||
platforms = [ "i686-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -10657,7 +10657,7 @@ let
|
|||||||
|
|
||||||
tptp = callPackage ../applications/science/logic/tptp {};
|
tptp = callPackage ../applications/science/logic/tptp {};
|
||||||
|
|
||||||
verifast = callPackage_i686 ../applications/science/logic/verifast {};
|
verifast = callPackage ../applications/science/logic/verifast {};
|
||||||
|
|
||||||
why3 = callPackage ../applications/science/logic/why3 {};
|
why3 = callPackage ../applications/science/logic/why3 {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user