From ce2a9a8f9b5ef229c18abedda63739f3886625cc Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 8 Dec 2016 10:08:29 -0500 Subject: lean2: 2016-07-05 -> 2016-11-29 Renamed from lean since upstream renamed it as well. The lean attribute in nixpkgs will now refer to the new lean 3 version. --- pkgs/applications/science/logic/lean/default.nix | 34 ----------------------- pkgs/applications/science/logic/lean2/default.nix | 34 +++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 pkgs/applications/science/logic/lean/default.nix create mode 100644 pkgs/applications/science/logic/lean2/default.nix (limited to 'pkgs/applications/science/logic') diff --git a/pkgs/applications/science/logic/lean/default.nix b/pkgs/applications/science/logic/lean/default.nix deleted file mode 100644 index e833b4afbbd2..000000000000 --- a/pkgs/applications/science/logic/lean/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, boost, python -, gperftools, ninja, makeWrapper }: - -stdenv.mkDerivation rec { - name = "lean-${version}"; - version = "2016-07-05"; - - src = fetchFromGitHub { - owner = "leanprover"; - repo = "lean"; - rev = "cc70845332e63a1f1be21dc1f96d17269fc85909"; - sha256 = "09qz2vjw7whiggvw0cdaa4i2f49wnch2sd4r43glq181ssln27d6"; - }; - - buildInputs = [ gmp mpfr boost cmake python gperftools ninja makeWrapper ]; - enableParallelBuilding = true; - - preConfigure = '' - patchShebangs bin/leantags - cd src - ''; - - postInstall = '' - wrapProgram $out/bin/linja --prefix PATH : $out/bin:${ninja}/bin - ''; - - 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 ]; - }; -} diff --git a/pkgs/applications/science/logic/lean2/default.nix b/pkgs/applications/science/logic/lean2/default.nix new file mode 100644 index 000000000000..a938af72f587 --- /dev/null +++ b/pkgs/applications/science/logic/lean2/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, boost, python +, gperftools, ninja, makeWrapper }: + +stdenv.mkDerivation rec { + name = "lean2-${version}"; + version = "2016-11-29"; + + src = fetchFromGitHub { + owner = "leanprover"; + repo = "lean2"; + rev = "a086fb334838c427bbc8f984eb44a4cbbe013a6b"; + sha256 = "0qlvhnb37amclgcyizl8bfab33b0a3jk54br9gsrik8cq76lkwwx"; + }; + + buildInputs = [ gmp mpfr cmake python gperftools ninja makeWrapper ]; + enableParallelBuilding = true; + + preConfigure = '' + patchShebangs bin/leantags + cd src + ''; + + postInstall = '' + wrapProgram $out/bin/linja --prefix PATH : $out/bin:${ninja}/bin + ''; + + meta = with stdenv.lib; { + description = "Automatic and interactive theorem prover (version with HoTT support)"; + homepage = "http://leanprover.github.io"; + license = licenses.asl20; + platforms = platforms.unix; + maintainers = with maintainers; [ thoughtpolice gebner ]; + }; +} -- cgit 1.4.1