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"; }; -} +})