nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 newScope,
4 fetchFromGitHub,
5 atdgen,
6 buildDunePackage,
7 junit,
8 ppxlib,
9 qcheck-core,
10 re,
11 reason,
12}:
13
14lib.makeScope newScope (self: {
15 inherit
16 lib
17 buildDunePackage
18 re
19 reason
20 ppxlib
21 ;
22
23 # Upstream doesn't use tags, releases, or branches.
24 src = fetchFromGitHub {
25 pname = "reason-native";
26 version = "0-unstable-2024-05-07";
27 owner = "reasonml";
28 repo = "reason-native";
29 # When updating this make sure to also update the `version` above
30 rev = "20b1997b6451d9715dfdbeec86a9d274c7430ed8";
31 hash = "sha256-96Ucq70eSy6pqh5ne9xoODWe/nPuriZnFAdx0OkLVCs=";
32 };
33
34 cli = self.callPackage ./cli.nix { };
35 console = self.callPackage ./console.nix { };
36 dir = self.callPackage ./dir.nix { };
37 file-context-printer = self.callPackage ./file-context-printer.nix { };
38 frame = self.callPackage ./frame.nix { };
39 fp = self.callPackage ./fp.nix { };
40 fs = self.callPackage ./fs.nix { };
41 pastel = self.callPackage ./pastel.nix { };
42 pastel-console = self.callPackage ./pastel-console.nix { };
43 qcheck-rely = self.callPackage ./qcheck-rely.nix {
44 inherit qcheck-core;
45 };
46 refmterr = self.callPackage ./refmterr.nix {
47 inherit atdgen;
48 };
49 rely = self.callPackage ./rely.nix { };
50 rely-junit-reporter = self.callPackage ./rely-junit-reporter.nix {
51 inherit atdgen junit;
52 };
53 unicode-config = self.callPackage ./unicode-config.nix { };
54 unicode = self.callPackage ./unicode.nix { };
55 utf8 = self.callPackage ./utf8.nix { };
56})