2015-09-21 07:38:38 +00:00
|
|
|
{ stdenv, fetchurl, perl, mlton }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "metis-prover-${version}";
|
2016-01-21 10:26:10 +00:00
|
|
|
version = "2.3.20160102";
|
2015-09-21 07:38:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.gilith.com/software/metis/metis.tar.gz";
|
2016-01-21 10:26:10 +00:00
|
|
|
sha256 = "13csr90i9lsxdyzxqiwgi98pa7phfl28drjcv4qdjhzi71wcdc66";
|
2015-09-21 07:38:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
buildInputs = [ mlton ];
|
|
|
|
|
|
|
|
patchPhase = "patchShebangs scripts/mlpp";
|
|
|
|
|
|
|
|
buildPhase = "make mlton";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm0755 bin/mlton/metis $out/bin/metis
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Automatic theorem prover for first-order logic with equality";
|
|
|
|
homepage = http://www.gilith.com/research/metis/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
2016-01-02 15:02:51 +00:00
|
|
|
platforms = platforms.unix;
|
2015-09-21 07:38:38 +00:00
|
|
|
};
|
|
|
|
}
|