mirror of https://gitlab.crans.org/nounous/nixos
32 lines
494 B
Nix
32 lines
494 B
Nix
{
|
|
belenios,
|
|
belenios-lib,
|
|
# belenios-platform,
|
|
belenios-platform-native,
|
|
libsodium,
|
|
ocamlPackages
|
|
}:
|
|
|
|
ocamlPackages.buildDunePackage {
|
|
pname = "belenios-tool";
|
|
inherit (belenios) version src;
|
|
|
|
buildInputs =
|
|
[
|
|
belenios-lib
|
|
# belenios-platform
|
|
belenios-platform-native
|
|
libsodium
|
|
]
|
|
++ (with ocamlPackages; [
|
|
cmdliner
|
|
cryptokit
|
|
hex
|
|
]);
|
|
|
|
propagatedBuildInputs = with ocamlPackages; [
|
|
lwt
|
|
cohttp-lwt-unix
|
|
];
|
|
}
|