summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2023-12-18 12:51:34 +0100
committerGitHub <noreply@github.com>2023-12-18 12:51:34 +0100
commit886c9aee6ca9324e127f9c2c4e6f68c2641c8256 (patch)
treef0654c50e1037131a6df0e73b43445b0b02c620b /pkgs/development/ocaml-modules
parent698b37918c36b8de81733a57f9c7f43f4de2c502 (diff)
parent0e4a4b715b0deb5b50ccc702c16cf1ebc90c2d57 (diff)
Merge pull request #275144 from vbgl/ocaml-riot-0.0.5
ocamlPackages.riot: 0.0.2 → 0.0.5
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/riot/default.nix6
-rw-r--r--pkgs/development/ocaml-modules/telemetry/default.nix22
2 files changed, 26 insertions, 2 deletions
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
];
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 ];
+ };
+}