diff options
author | Gabriel Ebner <gebner@gebner.org> | 2015-09-21 09:38:38 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2015-09-21 21:42:20 +0200 |
commit | 5493dccfbb28fb78058e821945a683ce8afe37c7 (patch) | |
tree | e57e48c6f8bae87cf60b6f0dffb5e4c3ee6099fd /pkgs/applications/science/logic | |
parent | af9f1a5552af319d84ee3f8d33b8de9a71b0eb71 (diff) | |
download | nixlib-5493dccfbb28fb78058e821945a683ce8afe37c7.tar nixlib-5493dccfbb28fb78058e821945a683ce8afe37c7.tar.gz nixlib-5493dccfbb28fb78058e821945a683ce8afe37c7.tar.bz2 nixlib-5493dccfbb28fb78058e821945a683ce8afe37c7.tar.lz nixlib-5493dccfbb28fb78058e821945a683ce8afe37c7.tar.xz nixlib-5493dccfbb28fb78058e821945a683ce8afe37c7.tar.zst nixlib-5493dccfbb28fb78058e821945a683ce8afe37c7.zip |
metis-prover: init at 2.3
Diffstat (limited to 'pkgs/applications/science/logic')
-rw-r--r-- | pkgs/applications/science/logic/metis-prover/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/science/logic/metis-prover/default.nix b/pkgs/applications/science/logic/metis-prover/default.nix new file mode 100644 index 000000000000..0aa3d6e51c37 --- /dev/null +++ b/pkgs/applications/science/logic/metis-prover/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, perl, mlton }: + +stdenv.mkDerivation rec { + name = "metis-prover-${version}"; + version = "2.3"; + + src = fetchurl { + url = "http://www.gilith.com/software/metis/metis.tar.gz"; + sha256 = "07wqhic66i5ip2j194x6pswwrxyxrimpc4vg0haa5aqv9pfpmxad"; + }; + + 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 ]; + }; +} |