nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 ocaml,
4 buildDunePackage,
5 fetchFromGitHub,
6 cppo,
7}:
8
9buildDunePackage rec {
10 pname = "reanalyze";
11 version = "2.25.1";
12
13 minimalOCamlVersion = "4.08";
14
15 src = fetchFromGitHub {
16 owner = "rescript-lang";
17 repo = "reanalyze";
18 tag = "v${version}";
19 hash = "sha256-cM39Gk4Ko7o/DyhrzgEHilobaB3h91Knltkcv2sglFw=";
20 };
21
22 nativeBuildInputs = [ cppo ];
23
24 meta = {
25 description = "Program analysis for ReScript and OCaml projects";
26 homepage = "https://github.com/rescript-lang/reanalyze/";
27 changelog = "https://github.com/rescript-lang/reanalyze/blob/v${version}/Changes.md";
28 license = lib.licenses.mit;
29 maintainers = [ lib.maintainers.vbgl ];
30 broken = lib.versionAtLeast ocaml.version "5.3";
31 };
32}