3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/logic/vampire/default.nix

37 lines
799 B
Nix
Raw Normal View History

2018-07-05 08:32:41 +01:00
{ stdenv, fetchFromGitHub, z3, zlib, git }:
stdenv.mkDerivation rec {
version = "4.2.2";
name = "vampire-${version}";
src = fetchFromGitHub {
owner = "vprover";
repo = "vampire";
rev = version;
sha256 = "080zwgmyhn0b2c6hqlhcgaw7n3frz02sh894v5kk68kzxbqr29w2";
fetchSubmodules = true;
leaveDotGit = true;
};
nativeBuildInputs = [ git ];
buildInputs = [ z3 zlib ];
makeFlags = [ "vampire_z3_rel" ];
fixupPhase = ''
rm -rf z3
'';
installPhase = ''
install -m0755 -D vampire_z3_rel* $out/bin/vampire
'';
meta = with stdenv.lib; {
homepage = "https://vprover.github.io/";
description = "The Vampire Theorem Prover";
platforms = platforms.unix;
license = licenses.unfree;
maintainers = with maintainers; [ gebner ];
};
}