nixpkgs/pkgs/applications/science/logic/lean/default.nix

29 lines
674 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 {
name = "lean-${version}";
2017-09-15 06:48:02 +00:00
version = "3.3.0";
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}";
2017-09-15 06:48:02 +00:00
sha256 = "0irh9b4haz0pzzxrb4hwcss91a0xb499kjrcrmr2s59p3zq8bbd9";
2016-12-08 15:29:33 +00:00
};
2017-02-26 07:50:15 +00:00
buildInputs = [ gmp cmake ];
2016-12-08 15:29:33 +00:00
enableParallelBuilding = true;
preConfigure = ''
cd src
'';
meta = with stdenv.lib; {
description = "Automatic and interactive theorem prover";
homepage = "http://leanprover.github.io";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice gebner ];
};
}