|
|
|
@ -1,18 +1,18 @@ |
|
|
|
|
{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, luajit, boost, python |
|
|
|
|
{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, boost, python |
|
|
|
|
, gperftools, ninja, makeWrapper }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
name = "lean-${version}"; |
|
|
|
|
version = "20160117"; |
|
|
|
|
version = "2016-07-05"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "leanprover"; |
|
|
|
|
repo = "lean"; |
|
|
|
|
rev = "b2554dcb8f45899ccce84f226cd67b6460442930"; |
|
|
|
|
sha256 = "1gr024bly92kdjky5qvcm96gn86ijakziiyrsz91h643n1iyxhms"; |
|
|
|
|
rev = "cc70845332e63a1f1be21dc1f96d17269fc85909"; |
|
|
|
|
sha256 = "09qz2vjw7whiggvw0cdaa4i2f49wnch2sd4r43glq181ssln27d6"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ gmp mpfr luajit boost cmake python gperftools ninja makeWrapper ]; |
|
|
|
|
buildInputs = [ gmp mpfr boost cmake python gperftools ninja makeWrapper ]; |
|
|
|
|
enableParallelBuilding = true; |
|
|
|
|
|
|
|
|
|
preConfigure = '' |
|
|
|
@ -26,11 +26,11 @@ stdenv.mkDerivation rec { |
|
|
|
|
wrapProgram $out/bin/linja --prefix PATH : $out/bin:${ninja}/bin |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = { |
|
|
|
|
meta = with stdenv.lib; { |
|
|
|
|
description = "Automatic and interactive theorem prover"; |
|
|
|
|
homepage = "http://leanprover.github.io"; |
|
|
|
|
license = stdenv.lib.licenses.asl20; |
|
|
|
|
platforms = stdenv.lib.platforms.unix; |
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; |
|
|
|
|
license = licenses.asl20; |
|
|
|
|
platforms = platforms.unix; |
|
|
|
|
maintainers = with maintainers; [ thoughtpolice gebner ]; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|