depot/third_party/nixpkgs/pkgs/development/ocaml-modules/opium/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

61 lines
834 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";
duneVersion = "3";
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 ];
};
}