aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix
blob: d7009fdf553cd488ede7d751461529ffce572006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildDunePackage
, macaddr, ounit
}:

buildDunePackage rec {
  pname = "ipaddr";

  inherit (macaddr) version src;

  buildInputs = [ ounit ];

  propagatedBuildInputs = [ macaddr ];

  doCheck = true;

  meta = with lib; {
    homepage = "https://github.com/mirage/ocaml-ipaddr";
    description = "A library for manipulation of IP (and MAC) address representations ";
    license = licenses.isc;
    maintainers = with maintainers; [ alexfmpe ericbmerritt ];
  };
}