depot/pkgs/development/ocaml-modules/ocamlc-loc/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
472 B
Nix

{ lib, buildDunePackage, dune_3, dyn }:
buildDunePackage {
pname = "ocamlc-loc";
inherit (dune_3) src version;
duneVersion = "3";
dontAddPrefix = true;
preBuild = ''
rm -rf vendor/csexp
rm -rf vendor/pp
'';
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [ dyn ];
meta = with lib; {
description = "Parse ocaml compiler output into structured form";
maintainers = [ maintainers.ulrikstrid ];
license = licenses.mit;
};
}