Files
2026-05-12 13:36:28 -05:00

48 lines
1.0 KiB
Nix

{
lib,
buildDunePackage,
fetchurl,
fetchpatch,
bytestring,
config,
libc,
rio,
uri,
}:
buildDunePackage (finalAttrs: {
pname = "gluon";
version = "0.0.9";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/riot-ml/gluon/releases/download/${finalAttrs.version}/gluon-${finalAttrs.version}.tbz";
hash = "sha256-YWJCPokY1A7TGqCGoxJl14oKDVeMNybEEB7KiK92WSo=";
};
patches = fetchpatch {
url = "https://github.com/riot-ml/gluon/commit/b29c34d04ea05d7721a229c35132320e796ed4b2.patch";
hash = "sha256-XuzyoteQAgEs93WrgHTWT1I+hIJAiGiJ4XAiLtnEYtw=";
};
buildInputs = [
config
];
propagatedBuildInputs = [
bytestring
libc
rio
uri
];
meta = {
description = "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/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = [ ];
};
})