nixpkgs-suyu/pkgs/development/ocaml-modules/ipaddr/default.nix
2023-03-23 06:04:25 +01:00

23 lines
537 B
Nix

{ 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 = "A library for manipulation of IP (and MAC) address representations ";
maintainers = with lib.maintainers; [ alexfmpe ericbmerritt ];
};
}