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

29 lines
674 B
Nix
Raw Normal View History

2017-02-26 08:50:15 +01:00
{ stdenv, fetchFromGitHub, cmake, gmp }:
2016-12-08 16:29:33 +01:00
stdenv.mkDerivation rec {
name = "lean-${version}";
2017-09-15 08:48:02 +02:00
version = "3.3.0";
2016-12-08 16:29:33 +01:00
src = fetchFromGitHub {
owner = "leanprover";
repo = "lean";
2017-01-20 10:59:54 +01:00
rev = "v${version}";
2017-09-15 08:48:02 +02:00
sha256 = "0irh9b4haz0pzzxrb4hwcss91a0xb499kjrcrmr2s59p3zq8bbd9";
2016-12-08 16:29:33 +01:00
};
2017-02-26 08:50:15 +01:00
buildInputs = [ gmp cmake ];
2016-12-08 16:29:33 +01: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 ];
};
}