mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
62 lines
834 B
Nix
62 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 ];
|
|
};
|
|
}
|