leanPackages: 4.29.1 -> 4.30.0

Add leangz (leantar) as a new build and runtime dependency.

https://github.com/leanprover/lean4/releases/tag/v4.30.0
https://github.com/leanprover-community/mathlib4/blob/v4.30.0/lake-manifest.json
This commit is contained in:
Nadja Yang
2026-06-04 16:48:52 -04:00
parent 5d81234142
commit b606786817
9 changed files with 28 additions and 24 deletions
@@ -9,6 +9,7 @@
gmp,
cadical,
cadical' ? cadical.override { version = "2.1.3"; },
leangz,
pkg-config,
libuv,
perl,
@@ -20,7 +21,7 @@
let
lean4 = stdenv.mkDerivation (finalAttrs: {
pname = "lean4";
version = "4.29.1";
version = "4.30.0";
mimalloc-src = fetchFromGitHub {
owner = "microsoft";
@@ -33,7 +34,7 @@ let
owner = "leanprover";
repo = "lean4";
tag = "v${finalAttrs.version}";
hash = "sha256-pdhRPjSic2H8zPJXLmyfN8umKDoafjmSo4OQSRxIbyE=";
hash = "sha256-YTsfIppd6km7wOjAxRH5KMPsW++ztFDCJT2up72J86Q=";
};
# Vendor mimalloc. Upstream has since partially adopted FetchContent:
@@ -72,6 +73,7 @@ let
nativeBuildInputs = [
cmake
leangz
pkg-config
];
@@ -90,6 +92,7 @@ let
"-DUSE_GITHASH=OFF"
"-DINSTALL_LICENSE=OFF"
"-DINSTALL_CADICAL=OFF"
"-DINSTALL_LEANTAR=OFF"
"-DUSE_MIMALLOC=ON"
];
@@ -119,6 +122,7 @@ let
paths = [
lean4
cadical'
leangz
];
nativeBuildInputs = [ perl ];
postBuild = ''