about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/wodan/unix.nix
blob: 64a18b6b83d77b95b3b0d17a59e88295f48ae9fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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"; };

}