mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-13 03:58:50 +00:00
Give leanPackages its own lean4, independent of pkgs.lean4. Binary-
patch the toolchain so the language server discovers the wrapped lake
despite lake serve deriving LAKE from IO.appPath unconditionally.
Supplant Lake's config trace validation for /nix/store/ dependencies,
deferring cache coherence to Nix.
Migrate Nix-managed dependency injection from package-overrides.json
to lake --packages. Patch Cli to pre-build static library for
downstream executables. Add recurseIntoAttrs for Hydra.
Upstream accepted FetchContent for mimalloc vendoring:
a145b9c11a
29 lines
625 B
Nix
29 lines
625 B
Nix
{
|
|
lib,
|
|
buildLakePackage,
|
|
fetchFromGitHub,
|
|
Cli,
|
|
}:
|
|
|
|
buildLakePackage {
|
|
pname = "lean4-importGraph";
|
|
version = "4.29.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leanprover-community";
|
|
repo = "import-graph";
|
|
tag = "v4.29.0";
|
|
hash = "sha256-tqdO2qyWiJzEbK0yuu4+tiOXTEg9XJfGnI7z6Jh/abg=";
|
|
};
|
|
|
|
leanPackageName = "importGraph";
|
|
leanDeps = [ Cli ];
|
|
|
|
meta = {
|
|
description = "Tools to analyse and visualise Lean 4 import structures";
|
|
homepage = "https://github.com/leanprover-community/import-graph";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ nadja-y ];
|
|
};
|
|
}
|