about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ipaddr/default.nix
blob: b30da4c5aaa09f07e3d4942ea4fd1d5cbb509307 (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
{ lib, buildDunePackage
, macaddr, domain-name, stdlib-shims
, ounit2, ppx_sexp_conv
}:

buildDunePackage rec {
  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; [ alexfmpe ericbmerritt ];
  };
}