Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage
2, macaddr, domain-name, stdlib-shims
3, ounit2, ppx_sexp_conv
4}:
5
6buildDunePackage rec {
7 pname = "ipaddr";
8
9 inherit (macaddr) version src;
10
11 minimalOCamlVersion = "4.08";
12 duneVersion = "3";
13
14 propagatedBuildInputs = [ macaddr domain-name stdlib-shims ];
15
16 checkInputs = [ ppx_sexp_conv ounit2 ];
17 doCheck = true;
18
19 meta = macaddr.meta // {
20 description = "A library for manipulation of IP (and MAC) address representations ";
21 maintainers = with lib.maintainers; [ alexfmpe ericbmerritt ];
22 };
23}