depot/third_party/nixpkgs/pkgs/development/ocaml-modules/wodan/unix.nix

28 lines
580 B
Nix
Raw Normal View History

{ lib, buildDunePackage, base64, benchmark, csv, cmdliner, wodan, afl-persistent
, io-page-unix, mirage-block-ramdisk, mirage-block-unix }:
buildDunePackage rec {
outputs = [ "bin" "out" ];
pname = "wodan-unix";
inherit (wodan) version src useDune2;
propagatedBuildInputs = [
afl-persistent
base64
benchmark
cmdliner
csv
io-page-unix
mirage-block-ramdisk
mirage-block-unix
wodan
];
postInstall = ''
moveToOutput bin "''${!outputBin}"
'';
meta = wodan.meta // { description = "Wodan clients with Unix integration"; };
}