1 { lib, stdenv, fetchurl, gtk2, gdk-pixbuf, atk, pango, glib, cairo, freetype
2 , fontconfig, libxml2, gnome2 }:
6 libPath = lib.makeLibraryPath
7 [ stdenv.cc.libc stdenv.cc.cc gtk2 gdk-pixbuf atk pango glib cairo
8 freetype fontconfig libxml2 gnome2.gtksourceview
9 ] + ":${lib.getLib stdenv.cc.cc}/lib64:$out/libexec";
12 patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
13 --set-rpath ${libPath} ${x}
17 patchelf --set-rpath ${libPath} ${x}
21 stdenv.mkDerivation rec {
26 url = "https://github.com/verifast/verifast/releases/download/${version}/${pname}-${version}-linux.tar.gz";
27 sha256 = "sha256-hIS5e+zVlxSOqr1/ZDy0PangyWjB9uLCvN8Qr688msg=";
34 cp -R bin $out/libexec
36 ${patchExe "$out/libexec/verifast"}
37 ${patchExe "$out/libexec/vfide"}
38 ${patchLib "$out/libexec/libz3.so"}
39 ln -s $out/libexec/verifast $out/bin/verifast
40 ln -s $out/libexec/vfide $out/bin/vfide
44 description = "Verification for C and Java programs via separation logic";
45 homepage = "https://people.cs.kuleuven.be/~bart.jacobs/verifast/";
46 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
47 license = lib.licenses.mit;
48 platforms = [ "x86_64-linux" ];
49 maintainers = [ lib.maintainers.thoughtpolice ];