Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
999 B
Nix
48 lines
999 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
fetchpatch,
|
|
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=";
|
|
};
|
|
|
|
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/${version}/CHANGES.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|