2018-12-08 23:11:43 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "metamath";
|
2020-02-21 09:47:14 +00:00
|
|
|
version = "0.181";
|
2018-12-08 23:11:43 +00:00
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-10-15 11:22:35 +00:00
|
|
|
owner = "metamath";
|
|
|
|
repo = "metamath-exe";
|
2020-02-21 09:47:14 +00:00
|
|
|
rev = "67cbfa8468deb6f8ad5bedafc6399bee59064764";
|
|
|
|
sha256 = "1mk3g41qz26j38j68i9qmnl8khkd8jwrzj4vxkb855h4b819s000";
|
2018-12-08 23:11:43 +00:00
|
|
|
};
|
|
|
|
|
2019-10-15 11:22:35 +00:00
|
|
|
# the files necessary to build the DATA target are not in this distribution
|
|
|
|
# luckily, they're not really needed so we don't build it.
|
|
|
|
makeFlags = [ "DATA=" ];
|
|
|
|
|
2019-11-04 12:33:53 +00:00
|
|
|
installTargets = [ "install-exec" ];
|
2019-10-15 11:22:35 +00:00
|
|
|
|
2018-12-08 23:11:43 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Interpreter for the metamath proof language";
|
|
|
|
longDescription = ''
|
|
|
|
The metamath program is an ASCII-based ANSI C program with a command-line
|
|
|
|
interface. It was used (along with mmj2) to build and verify the proofs
|
|
|
|
in the Metamath Proof Explorer, and it generated its web pages. The *.mm
|
|
|
|
ASCII databases (set.mm and others) are also included in this derivation.
|
|
|
|
'';
|
|
|
|
homepage = http://us.metamath.org;
|
|
|
|
downloadPage = "http://us.metamath.org/#downloads";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.taneb ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|