diff --git a/pkgs/applications/science/logic/lean/default.nix b/pkgs/applications/science/logic/lean2/default.nix similarity index 61% rename from pkgs/applications/science/logic/lean/default.nix rename to pkgs/applications/science/logic/lean2/default.nix index e833b4afbbd2..a938af72f587 100644 --- a/pkgs/applications/science/logic/lean/default.nix +++ b/pkgs/applications/science/logic/lean2/default.nix @@ -2,17 +2,17 @@ , gperftools, ninja, makeWrapper }: stdenv.mkDerivation rec { - name = "lean-${version}"; - version = "2016-07-05"; + name = "lean2-${version}"; + version = "2016-11-29"; src = fetchFromGitHub { owner = "leanprover"; - repo = "lean"; - rev = "cc70845332e63a1f1be21dc1f96d17269fc85909"; - sha256 = "09qz2vjw7whiggvw0cdaa4i2f49wnch2sd4r43glq181ssln27d6"; + repo = "lean2"; + rev = "a086fb334838c427bbc8f984eb44a4cbbe013a6b"; + sha256 = "0qlvhnb37amclgcyizl8bfab33b0a3jk54br9gsrik8cq76lkwwx"; }; - buildInputs = [ gmp mpfr boost cmake python gperftools ninja makeWrapper ]; + buildInputs = [ gmp mpfr cmake python gperftools ninja makeWrapper ]; enableParallelBuilding = true; preConfigure = '' @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { ''; meta = with stdenv.lib; { - description = "Automatic and interactive theorem prover"; + description = "Automatic and interactive theorem prover (version with HoTT support)"; homepage = "http://leanprover.github.io"; license = licenses.asl20; platforms = platforms.unix; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ecb18f8608e8..a0b9edc65352 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16747,7 +16747,7 @@ in else smlnj; }; - lean = callPackage ../applications/science/logic/lean {}; + lean2 = callPackage ../applications/science/logic/lean2 {}; leo2 = callPackage ../applications/science/logic/leo2 {};