Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
61 lines
876 B
Nix
61 lines
876 B
Nix
{ buildDunePackage
|
|
, lib
|
|
, astring
|
|
, base64
|
|
, cmdliner
|
|
, fmt
|
|
, httpaf
|
|
, httpaf-lwt-unix
|
|
, logs
|
|
, magic-mime
|
|
, mirage-crypto
|
|
, mtime
|
|
, multipart-form-data
|
|
, ptime
|
|
, re
|
|
, rock
|
|
, tyxml
|
|
, uri
|
|
, yojson
|
|
, alcotest-lwt
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "opium";
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
inherit (rock) src version;
|
|
|
|
propagatedBuildInputs = [
|
|
astring
|
|
base64
|
|
cmdliner
|
|
fmt
|
|
httpaf
|
|
httpaf-lwt-unix
|
|
logs
|
|
magic-mime
|
|
mirage-crypto
|
|
mtime
|
|
multipart-form-data
|
|
ptime
|
|
re
|
|
rock
|
|
tyxml
|
|
uri
|
|
yojson
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
alcotest-lwt
|
|
];
|
|
|
|
meta = {
|
|
description = "OCaml web framework";
|
|
homepage = "https://github.com/rgrinberg/opium";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.pmahoney ];
|
|
broken = true; # Not compatible with mirage-crypto ≥ 1.0
|
|
};
|
|
}
|