2021-01-23 13:15:07 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2018-12-08 23:11:43 +00:00
|
|
|
|
2020-12-28 17:41:20 +00:00
|
|
|
let
|
2020-12-28 08:25:17 +00:00
|
|
|
version = "0.194";
|
2020-12-28 17:41:20 +00:00
|
|
|
in stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "metamath";
|
2020-12-28 17:41:20 +00:00
|
|
|
inherit version;
|
2018-12-08 23:11:43 +00:00
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-10-15 12:22:35 +01:00
|
|
|
owner = "metamath";
|
|
|
|
repo = "metamath-exe";
|
2020-12-28 17:41:20 +00:00
|
|
|
rev = "v${version}";
|
2020-12-28 08:25:17 +00:00
|
|
|
sha256 = "1bc5h2jdqbgna8zbhqyphlqcldz4vddg72r2rnjjjzxnxb2skvj7";
|
2018-12-08 23:11:43 +00:00
|
|
|
};
|
|
|
|
|
2021-01-23 13:15:07 +00:00
|
|
|
meta = with lib; {
|
2018-12-08 23:11:43 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://us.metamath.org";
|
2018-12-08 23:11:43 +00:00
|
|
|
downloadPage = "http://us.metamath.org/#downloads";
|
2020-12-28 17:51:38 +00:00
|
|
|
license = licenses.gpl2Only;
|
2018-12-08 23:11:43 +00:00
|
|
|
maintainers = [ maintainers.taneb ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|