mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #275144 from vbgl/ocaml-riot-0.0.5
ocamlPackages.riot: 0.0.2 → 0.0.5
This commit is contained in:
commit
886c9aee6c
@ -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
|
||||
];
|
||||
|
||||
|
22
pkgs/development/ocaml-modules/telemetry/default.nix
Normal file
22
pkgs/development/ocaml-modules/telemetry/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user