ocamlPackages.gluon: init at 0.0.9

This commit is contained in:
Vincent Laporte 2024-05-22 07:21:04 +02:00 committed by Vincent Laporte
parent b7ae136623
commit 242e322244
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildDunePackage
, fetchurl
, bytestring
, config
, libc
, rio
, uri
}:
buildDunePackage rec {
pname = "gluon";
version = "0.0.9";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/riot-ml/gluon/releases/download/${version}/gluon-${version}.tbz";
hash = "sha256-YWJCPokY1A7TGqCGoxJl14oKDVeMNybEEB7KiK92WSo=";
};
buildInputs = [
config
];
propagatedBuildInputs = [
bytestring
libc
rio
uri
];
meta = {
description = "A minimal, portable, and fast API on top of the operating-system's evented I/O API";
homepage = "https://github.com/riot-ml/gluon";
changelog = "https://github.com/riot-ml/gluon/blob/${version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}

View File

@ -606,6 +606,8 @@ let
github-jsoo = callPackage ../development/ocaml-modules/github/jsoo.nix { };
github-unix = callPackage ../development/ocaml-modules/github/unix.nix { };
gluon = callPackage ../development/ocaml-modules/gluon { };
gluten = callPackage ../development/ocaml-modules/gluten { };
gluten-eio = callPackage ../development/ocaml-modules/gluten/eio.nix { };
gluten-lwt = callPackage ../development/ocaml-modules/gluten/lwt.nix { };