nixpkgs/pkgs/applications/science/logic/metis-prover/default.nix

33 lines
799 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, perl, mlton }:
2015-09-21 07:38:38 +00:00
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "metis-prover";
version = "2.3.20160713";
2015-09-21 07:38:38 +00:00
src = fetchFromGitHub {
owner = "gilith";
repo = "metis";
rev = "f0b1a17cd57eb098077e963ab092477aee9fb340";
sha256 = "1i7paax7b4byk8110f5zk4071mh5603r82bq7hbprqzljvsiipk7";
2015-09-21 07:38:38 +00:00
};
nativeBuildInputs = [ perl ];
buildInputs = [ mlton ];
patchPhase = "patchShebangs .";
2015-09-21 07:38:38 +00:00
buildPhase = "make mlton";
installPhase = ''
install -Dm0755 bin/mlton/metis $out/bin/metis
'';
meta = with lib; {
2015-09-21 07:38:38 +00:00
description = "Automatic theorem prover for first-order logic with equality";
homepage = "http://www.gilith.com/research/metis/";
2015-09-21 07:38:38 +00:00
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
};
}