From 2cf3c05f9cee0f655a78ba91df64df1d2fbf6082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marijan=20Petri=C4=8Devi=C4=87?= Date: Tue, 9 Dec 2025 11:07:17 +0700 Subject: [PATCH] ocamlPackages.prometheus: 1.2 -> 1.3 --- .../ocaml-modules/prometheus/default.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/development/ocaml-modules/prometheus/default.nix b/pkgs/development/ocaml-modules/prometheus/default.nix index 859043639858..bee4f05b8d0d 100644 --- a/pkgs/development/ocaml-modules/prometheus/default.nix +++ b/pkgs/development/ocaml-modules/prometheus/default.nix @@ -4,35 +4,32 @@ buildDunePackage, astring, asetmap, - fmt, re, lwt, alcotest, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "prometheus"; - version = "1.2"; + version = "1.3"; src = fetchurl { - url = "https://github.com/mirage/prometheus/releases/download/v${version}/prometheus-${version}.tbz"; - sha256 = "sha256-g2Q6ApprbecdFANO7i6U/v8dCHVcSkHVg9wVMKtVW8s="; + url = "https://github.com/mirage/prometheus/releases/download/v${finalAttrs.version}/prometheus-${finalAttrs.version}.tbz"; + hash = "sha256-4C0UzwaCgqtk5SGIY89rg0dxdrKm63lhdcOaQAa20L8="; }; - duneVersion = "3"; - propagatedBuildInputs = [ astring asetmap - fmt re lwt - alcotest ]; meta = { + homepage = "https://github.com/mirage/prometheus"; description = "Client library for Prometheus monitoring"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.ulrikstrid ]; + changelog = "https://raw.githubusercontent.com/mirage/prometheus/v${finalAttrs.version}/CHANGES.md"; }; -} +})