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

29 lines
742 B
Nix
Raw Normal View History

2016-12-08 15:29:33 +00:00
{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, gperftools }:
stdenv.mkDerivation rec {
name = "lean-${version}";
2017-01-14 08:37:48 +00:00
version = "2017-01-14";
2016-12-08 15:29:33 +00:00
src = fetchFromGitHub {
owner = "leanprover";
repo = "lean";
2017-01-14 08:37:48 +00:00
rev = "6e9a6d15dbfba3e8a1560d2cfcdbc7d81314d7bb";
sha256 = "0wi1jssj1bi45rji4prlnvzs8nr48mqnj9yg5vnhah4rsjwl20km";
2016-12-08 15:29:33 +00:00
};
buildInputs = [ gmp mpfr cmake gperftools ];
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 ];
};
}