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
39 lines
729 B
Nix
39 lines
729 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
bigstringaf,
|
|
hmap,
|
|
httpaf,
|
|
lwt,
|
|
sexplib0,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "rock";
|
|
version = "0.20.0";
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz";
|
|
hash = "sha256-MmuRhm3pC69TX4t9Sy/yPjnZUuVzwEs8E/EFS1n/L7Y=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
bigstringaf
|
|
hmap
|
|
httpaf
|
|
lwt
|
|
sexplib0
|
|
];
|
|
|
|
meta = {
|
|
description = "Minimalist framework to build extensible HTTP servers and clients";
|
|
homepage = "https://github.com/rgrinberg/opium";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
|
|
}
|