···2233stdenv.mkDerivation rec {
44 pname = "yices";
55- version = "2.6.3";
55+ # We never want X.Y.${odd} versions as they are moving development tags.
66+ version = "2.6.2";
6778 src = fetchFromGitHub {
89 owner = "SRI-CSL";
910 repo = "yices2";
1011 rev = "Yices-${version}";
1111- sha256 = "01fi818lbkwilfcf1dz2dpxkcc1kh8ls0sl5aynyx9pwfn2v03zl";
1212+ sha256 = "1jx3854zxvfhxrdshbipxfgyq1yxb9ll9agjc2n0cj4vxkjyh9mn";
1213 };
13141415 nativeBuildInputs = [ autoreconfHook ];
···2526 # Usual shenanigans
2627 patchPhase = "patchShebangs tests/regress/check.sh";
27282828- # Includes a fix for the embedded soname being libyices.so.2.5, but
2929- # only installing the libyices.so.2.5.x file.
2929+ # Includes a fix for the embedded soname being libyices.so.X.Y, but
3030+ # only installing the libyices.so.X.Y.Z file.
3031 installPhase = let
3132 ver_XdotY = lib.versions.majorMinor version;
3233 in ''
3334 make install LDCONFIG=true
3535+ # guard against packaging of unstable versions: they
3636+ # have a soname of hext (not current) release.
3737+ echo "Checking expected library version to be ${version}"
3838+ [ -f $out/lib/libyices.so.${version} ]
3439 ln -sfr $out/lib/libyices.so.{${version},${ver_XdotY}}
3540 '';
3641