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

31 lines
704 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";
2020-03-04 06:26:01 +00:00
version = "3.6.1";
2016-12-08 15:29:33 +00:00
src = fetchFromGitHub {
owner = "leanprover-community";
2016-12-08 15:29:33 +00:00
repo = "lean";
2017-01-20 09:59:54 +00:00
rev = "v${version}";
2020-03-04 06:26:01 +00:00
sha256 = "0crcpzbz75mdyi1vi4mygw3mj4lx73vff58fkic1gfxlpwrwgi20";
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";
2020-03-04 06:26:01 +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 ];
};
}