Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 atdgen, 5 atdgen-runtime, 6 re, 7 reason, 8 pastel, 9 src, 10}: 11 12buildDunePackage { 13 inherit src; 14 15 pname = "refmterr"; 16 version = "3.3.0-unstable-2024-05-07"; 17 18 postPatch = '' 19 substituteInPlace src/refmterr/lib/dune --replace-warn 'atdgen re' 'atdgen-runtime re' 20 ''; 21 22 nativeBuildInputs = [ 23 atdgen 24 reason 25 ]; 26 27 propagatedBuildInputs = [ 28 atdgen-runtime 29 re 30 pastel 31 ]; 32 33 meta = { 34 description = "Error formatter tool for Reason and OCaml. Takes raw error output from compiler and converts to pretty output"; 35 downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/refmterr"; 36 homepage = "https://reason-native.com/docs/refmterr/"; 37 license = lib.licenses.mit; 38 maintainers = [ ]; 39 }; 40}