2017-02-26 07:50:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, gmp }:
|
2016-12-08 15:29:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "lean";
|
2020-02-26 23:00:00 +00:00
|
|
|
version = "3.6.0";
|
2016-12-08 15:29:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-02-15 07:13:17 +00:00
|
|
|
owner = "leanprover-community";
|
2016-12-08 15:29:33 +00:00
|
|
|
repo = "lean";
|
2017-01-20 09:59:54 +00:00
|
|
|
rev = "v${version}";
|
2020-02-26 23:00:00 +00:00
|
|
|
sha256 = "1filkhyqcjglbavbkjra0nk3y7hw8993wyl7r87ikydb2bjishsc";
|
2016-12-08 15:29:33 +00:00
|
|
|
};
|
|
|
|
|
2017-10-18 14:37:50 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ gmp ];
|
2016-12-08 15:29:33 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Automatic and interactive theorem prover";
|
2019-01-20 10:28:55 +00:00
|
|
|
homepage = https://leanprover.github.io/;
|
2016-12-08 15:29:33 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice gebner ];
|
|
|
|
};
|
|
|
|
}
|
2020-02-15 07:13:17 +00:00
|
|
|
|