mirror of https://gitlab.crans.org/nounous/nixos
56 lines
859 B
Nix
56 lines
859 B
Nix
{
|
|
version,
|
|
src,
|
|
belenios-lib,
|
|
belenios-platform-native,
|
|
belenios-platform-js,
|
|
ocamlPackages,
|
|
}:
|
|
|
|
ocamlPackages.buildDunePackage {
|
|
pname = "belenios-server";
|
|
inherit version src;
|
|
|
|
nativeBuildInputs = with ocamlPackages; [
|
|
atdgen
|
|
js_of_ocaml-compiler
|
|
menhir
|
|
ocaml_gettext
|
|
];
|
|
|
|
patches = [ ./netstring.patch ];
|
|
|
|
buildInputs = [
|
|
# belenios-lib
|
|
# belenios-platform-native
|
|
belenios-platform-js
|
|
]
|
|
++ (with ocamlPackages; [
|
|
# calendar
|
|
# csv
|
|
eliom
|
|
gettext-camomile
|
|
# lwt
|
|
# ocamlnet
|
|
ocsipersist
|
|
ocsipersist-lib
|
|
ocsipersist-sqlite-config
|
|
ocsigen_server
|
|
ocaml_gettext
|
|
xml-light
|
|
tyxml
|
|
markup
|
|
sendmail
|
|
]);
|
|
|
|
propagatedBuildInputs = [
|
|
belenios-lib
|
|
belenios-platform-native
|
|
]
|
|
++ (with ocamlPackages; [
|
|
calendar
|
|
lwt
|
|
xml-light
|
|
]);
|
|
}
|