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";
version = "3.5.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}";
sha256 = "0m7knf1hfbn2v6p6kmqxlx8c40p5nzv8d975w2xwljaccc42j1yp";
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 ];
};
}