3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/logic/lean/default.nix

30 lines
691 B
Nix
Raw Normal View History

2017-02-26 07:50:15 +00:00
{ stdenv, fetchFromGitHub, cmake, gmp }:
2016-12-08 15:29:33 +00:00
stdenv.mkDerivation rec {
pname = "lean";
2019-01-20 10:28:55 +00:00
version = "3.4.2";
2016-12-08 15:29:33 +00:00
src = fetchFromGitHub {
owner = "leanprover";
repo = "lean";
2017-01-20 09:59:54 +00:00
rev = "v${version}";
2019-01-20 10:28:55 +00:00
sha256 = "0zpnfg6kyg120rrdr336i1lymmzz4xgcqpn96iavhzhlaanmx55l";
2016-12-08 15:29:33 +00: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 ];
};
}