summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/reason-native/default.nix
blob: fbffaab4ae9afe61efc8d8c9c1839bf53d50ad9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  lib,
  newScope,
  fetchFromGitHub,
  atdgen,
  buildDunePackage,
  junit,
  ppxlib,
  qcheck-core,
  re,
  reason,
}:

lib.makeScope newScope (self: {
  inherit
    lib
    buildDunePackage
    re
    reason
    ppxlib
    ;

  # Upstream doesn't use tags, releases, or branches.
  src = fetchFromGitHub {
    pname = "reason-native";
    version = "0-unstable-2024-05-07";
    owner = "reasonml";
    repo = "reason-native";
    # When updating this make sure to also update the `version` above
    rev = "20b1997b6451d9715dfdbeec86a9d274c7430ed8";
    hash = "sha256-96Ucq70eSy6pqh5ne9xoODWe/nPuriZnFAdx0OkLVCs=";
    meta = {
      license = lib.licenses.mit;
    };
  };

  cli = self.callPackage ./cli.nix { };
  console = self.callPackage ./console.nix { };
  dir = self.callPackage ./dir.nix { };
  file-context-printer = self.callPackage ./file-context-printer.nix { };
  frame = self.callPackage ./frame.nix { };
  fp = self.callPackage ./fp.nix { };
  fs = self.callPackage ./fs.nix { };
  pastel = self.callPackage ./pastel.nix { };
  pastel-console = self.callPackage ./pastel-console.nix { };
  qcheck-rely = self.callPackage ./qcheck-rely.nix {
    inherit qcheck-core;
  };
  refmterr = self.callPackage ./refmterr.nix {
    inherit atdgen;
  };
  rely = self.callPackage ./rely.nix { };
  rely-junit-reporter = self.callPackage ./rely-junit-reporter.nix {
    inherit atdgen junit;
  };
  unicode-config = self.callPackage ./unicode-config.nix { };
  unicode = self.callPackage ./unicode.nix { };
  utf8 = self.callPackage ./utf8.nix { };
})