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
43 lines
854 B
Nix
43 lines
854 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
alcotest,
|
|
uri,
|
|
xmlm,
|
|
omd,
|
|
ezjsonm,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
version = "2.5.0";
|
|
pname = "cow";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-cow/releases/download/v${version}/cow-${version}.tbz";
|
|
hash = "sha256-8rNK+5oWUbi91gXvdz/66YQu5+iXp0Co8wk0Isv6b9Y=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
xmlm
|
|
uri
|
|
ezjsonm
|
|
omd
|
|
];
|
|
checkInputs = [ alcotest ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Caml on the Web";
|
|
longDescription = ''
|
|
Writing web-applications requires a lot of skills: HTML, XML, JSON and
|
|
Markdown, to name but a few! This library provides OCaml combinators
|
|
for these web formats.
|
|
'';
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ sternenseemann ];
|
|
};
|
|
}
|