From 39e4eb6cca3c2856d1c9c7579c9473a0acaa726b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 18 Dec 2023 08:11:33 +0100 Subject: ocamlPackages.telemetry: init at 0.0.1 --- .../ocaml-modules/telemetry/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/development/ocaml-modules/telemetry/default.nix (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/telemetry/default.nix b/pkgs/development/ocaml-modules/telemetry/default.nix new file mode 100644 index 000000000000..85d6e067f60f --- /dev/null +++ b/pkgs/development/ocaml-modules/telemetry/default.nix @@ -0,0 +1,22 @@ +{ lib, buildDunePackage, fetchurl }: + +buildDunePackage rec { + pname = "telemetry"; + version = "0.0.1"; + + minimalOCamlVersion = "4.12"; + + src = fetchurl { + url = "https://github.com/leostera/telemetry/releases/download/${version}/telemetry-${version}.tbz"; + hash = "sha256-YEf7zC/F2zJBtQNfyJ2OznKmoFo1Ms9O2WgiOFkhp28="; + }; + + doCheck = true; + + meta = { + description = "A lightweight library for dispatching and handling events, with a focus on metrics and instrumentation"; + homepage = "https://github.com/leostera/telemetry"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.vbgl ]; + }; +} -- cgit v1.2.3 From 0e4a4b715b0deb5b50ccc702c16cf1ebc90c2d57 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 18 Dec 2023 08:11:39 +0100 Subject: =?UTF-8?q?ocamlPackages.riot:=200.0.2=20=E2=86=92=200.0.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/riot/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/riot/default.nix b/pkgs/development/ocaml-modules/riot/default.nix index e03ac2c209ed..e830e7034e10 100644 --- a/pkgs/development/ocaml-modules/riot/default.nix +++ b/pkgs/development/ocaml-modules/riot/default.nix @@ -4,24 +4,26 @@ , fetchurl , iomux , ptime +, telemetry , uri }: buildDunePackage rec { pname = "riot"; - version = "0.0.2"; + version = "0.0.5"; minimalOCamlVersion = "5.1"; src = fetchurl { url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz"; - hash = "sha256-ck/tr5o0nKF4WNgjPODHg1/tlaKv1JtuYgqYfIIZ78Q="; + hash = "sha256-Abe4LMxlaxK3MVlg2d8X60aCuPGvaOn+4zFx/uH5z4g="; }; propagatedBuildInputs = [ bigstringaf iomux ptime + telemetry uri ]; -- cgit v1.2.3