Commit 242e3222 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.gluon: init at 0.0.9

parent b7ae1366
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ 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 = [ ];
  };
}

+2 −0
Original line number Diff line number Diff line
@@ -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 { };