mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
ocamlPackages.{landmarks, landmarks-ppx}: modernized derivation
- Removed with lib; - Added meta.homepage, meta.longDescription, and meta.changelog
This commit is contained in:
committed by
Vincent Laporte
parent
60a9e7cc58
commit
95612d14de
@@ -19,5 +19,9 @@ buildDunePackage {
|
||||
|
||||
meta = landmarks.meta // {
|
||||
description = "Preprocessor instrumenting code using the landmarks library";
|
||||
longDescription = ''
|
||||
Automatically or semi-automatically instrument your code using
|
||||
landmarks library.
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,9 +19,17 @@ buildDunePackage rec {
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08" && lib.versionOlder ocaml.version "5.0";
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Simple Profiling Library for OCaml";
|
||||
maintainers = [ maintainers.kenran ];
|
||||
license = licenses.mit;
|
||||
longDescription = ''
|
||||
Landmarks is a simple profiling library for OCaml. It provides
|
||||
primitives to measure time spent in portion of instrumented code. The
|
||||
instrumentation of the code may either done by hand, automatically or
|
||||
semi-automatically using the ppx pepreprocessor (see landmarks-ppx package).
|
||||
'';
|
||||
changelog = "https://raw.githubusercontent.com/LexiFi/landmarks/refs/tags/v${version}/CHANGES.md";
|
||||
maintainers = with lib.maintainers; [ kenran ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user