2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, perl, mlton }:
|
2015-09-21 08:38:38 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "metis-prover";
|
2022-07-08 21:22:33 +01:00
|
|
|
version = "2.4.20200713";
|
2015-09-21 08:38:38 +01:00
|
|
|
|
2016-07-21 17:41:26 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gilith";
|
|
|
|
repo = "metis";
|
2022-07-08 21:22:33 +01:00
|
|
|
rev = "d17c3a8cf6537212c5c4bfdadcf865bd25723132";
|
|
|
|
sha256 = "phu1x0yahK/B2bSOCvlze7UJw8smX9zw6dJTpDD9chM=";
|
2015-09-21 08:38:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
buildInputs = [ mlton ];
|
|
|
|
|
2016-07-21 17:41:26 +01:00
|
|
|
patchPhase = "patchShebangs .";
|
2015-09-21 08:38:38 +01:00
|
|
|
|
|
|
|
buildPhase = "make mlton";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm0755 bin/mlton/metis $out/bin/metis
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-09-21 08:38:38 +01:00
|
|
|
description = "Automatic theorem prover for first-order logic with equality";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.gilith.com/research/metis/";
|
2015-09-21 08:38:38 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
2016-01-02 15:02:51 +00:00
|
|
|
platforms = platforms.unix;
|
2015-09-21 08:38:38 +01:00
|
|
|
};
|
|
|
|
}
|