ocamlPackages.landmarks: 1.5 → 1.7

This commit is contained in:
Vincent Laporte 2026-06-26 07:19:37 +02:00
commit 42cc694c39
No known key found for this signature in database
2 changed files with 7 additions and 15 deletions

View file

@ -1,8 +1,5 @@
{
lib,
buildDunePackage,
fetchpatch,
ocaml,
landmarks,
ppxlib,
}:
@ -10,17 +7,14 @@
buildDunePackage {
pname = "landmarks-ppx";
inherit (landmarks) src version;
minimalOCamlVersion = "5.3";
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
url = "https://github.com/LexiFi/landmarks/commit/367c229e3275a83f81343ba116374bb68abc9d83.patch";
hash = "sha256-Qxue+++sNV6EHJGX1mbIeY2E2D5NuFpmIIBkTyvGvo8=";
});
inherit (landmarks) src version;
buildInputs = [ ppxlib ];
propagatedBuildInputs = [ landmarks ];
doCheck = lib.versionAtLeast ocaml.version "5.1";
doCheck = true;
meta = landmarks.meta // {
description = "Preprocessor instrumenting code using the landmarks library";

View file

@ -2,25 +2,23 @@
lib,
fetchFromGitHub,
buildDunePackage,
ocaml,
}:
buildDunePackage (finalAttrs: {
pname = "landmarks";
version = "1.5";
minimalOCamlVersion = "4.08";
version = "1.7";
src = fetchFromGitHub {
owner = "LexiFi";
repo = "landmarks";
tag = "v${finalAttrs.version}";
hash = "sha256-eIq02D19OzDOrMDHE1Ecrgk+T6s9vj2X6B2HY+z+K8Q=";
hash = "sha256-9o9jf0M3zKc+Xojs4dqPRctYswSYqIo0jeOvkfdLfZ4=";
};
doCheck = lib.versionAtLeast ocaml.version "4.08" && lib.versionOlder ocaml.version "5.0";
doCheck = true;
meta = {
inherit (finalAttrs.src.meta) homepage;
homepage = "https://github.com/LexiFi/landmarks";
description = "Simple Profiling Library for OCaml";
longDescription = ''
Landmarks is a simple profiling library for OCaml. It provides