Merge pull request #275144 from vbgl/ocaml-riot-0.0.5

ocamlPackages.riot: 0.0.2 → 0.0.5
This commit is contained in:
Ulrik Strid 2023-12-18 12:51:34 +01:00 committed by GitHub
commit 886c9aee6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 2 deletions

View File

@ -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
];

View File

@ -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 ];
};
}

View File

@ -1733,6 +1733,8 @@ let
telegraml = callPackage ../development/ocaml-modules/telegraml { };
telemetry = callPackage ../development/ocaml-modules/telemetry { };
terminal = callPackage ../development/ocaml-modules/terminal { };
terminal_size = callPackage ../development/ocaml-modules/terminal_size { };