1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/applications/science/logic/lean/default.nix

30 lines
701 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}";
version = "3.4.1";
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}";
sha256 = "0ww8azlyy3xikhd7nh96f507sg23r53zvayij1mwv5513vmblhhw";
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";
homepage = "http://leanprover.github.io";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice gebner ];
};
}