Merge pull request #254496 from vbgl/ocaml-pp_loc-2.1.0

ocamlPackages.pp_loc: init at 2.1.0
This commit is contained in:
Ulrik Strid 2023-09-11 12:16:38 +02:00 committed by GitHub
commit 2ad6c7411c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;