Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 owner = "reasonml"; 26 repo = "reason-native"; 27 rev = "20b1997b6451d9715dfdbeec86a9d274c7430ed8"; 28 hash = "sha256-96Ucq70eSy6pqh5ne9xoODWe/nPuriZnFAdx0OkLVCs="; 29 }; 30 31 cli = self.callPackage ./cli.nix { }; 32 console = self.callPackage ./console.nix { }; 33 dir = self.callPackage ./dir.nix { }; 34 file-context-printer = self.callPackage ./file-context-printer.nix { }; 35 frame = self.callPackage ./frame.nix { }; 36 fp = self.callPackage ./fp.nix { }; 37 fs = self.callPackage ./fs.nix { }; 38 pastel = self.callPackage ./pastel.nix { }; 39 pastel-console = self.callPackage ./pastel-console.nix { }; 40 qcheck-rely = self.callPackage ./qcheck-rely.nix { 41 inherit qcheck-core; 42 }; 43 refmterr = self.callPackage ./refmterr.nix { 44 inherit atdgen; 45 }; 46 rely = self.callPackage ./rely.nix { }; 47 rely-junit-reporter = self.callPackage ./rely-junit-reporter.nix { 48 inherit atdgen junit; 49 }; 50 unicode-config = self.callPackage ./unicode-config.nix { }; 51 unicode = self.callPackage ./unicode.nix { }; 52 utf8 = self.callPackage ./utf8.nix { }; 53})