summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ipaddr/default.nix
blob: 63c49af9eecf15a42ba8c24c00746b4ffccaee52 (plain)
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
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildDunePackage,
  macaddr,
  domain-name,
  stdlib-shims,
  ounit2,
  ppx_sexp_conv,
}:

buildDunePackage {
  pname = "ipaddr";

  inherit (macaddr) version src;

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  propagatedBuildInputs = [
    macaddr
    domain-name
    stdlib-shims
  ];

  checkInputs = [
    ppx_sexp_conv
    ounit2
  ];
  doCheck = true;

  meta = macaddr.meta // {
    description = "Library for manipulation of IP (and MAC) address representations";
    maintainers = with lib.maintainers; [
      ericbmerritt
    ];
  };
}