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-06-18 18:04:30 +00:00
version = "3.2.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-06-18 18:04:30 +00:00
sha256 = "13sb9rwgc9ni2j5zx77imjhkzhix9d7klsdb8cg68c17b20sy1g3";
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 ];
};
}