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

31 lines
702 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-02-26 23:00:00 +00:00
version = "3.6.0";
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-02-26 23:00:00 +00:00
sha256 = "1filkhyqcjglbavbkjra0nk3y7hw8993wyl7r87ikydb2bjishsc";
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";
2019-01-20 10:28:55 +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 ];
};
}