ocamlPackages.pp_loc: init at 2.1.0

This commit is contained in:
Vincent Laporte 2023-09-11 05:47:36 +02:00
parent b7f08798e2
commit 2bbe1e437d
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ lib, fetchurl, buildDunePackage }:
buildDunePackage rec {
pname = "pp_loc";
version = "2.1.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/Armael/pp_loc/releases/download/v${version}/pp_loc-${version}.tbz";
hash = "sha256-L3NlBdQx6BpP6FGtMQ/ynsTNIMj9N+8FDZ5vEFC6p8s=";
};
doCheck = true;
meta = {
description = "Quote and highlight input fragments at a given source location";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://armael.github.io/pp_loc/pp_loc/";
};
}

View File

@ -1438,6 +1438,8 @@ let
pp = callPackage ../development/ocaml-modules/pp { };
pp_loc = callPackage ../development/ocaml-modules/pp_loc { };
pprint = callPackage ../development/ocaml-modules/pprint { };
ppx_bap = janeStreet_0_15.ppx_bap;