2019-12-29 11:40:36 -08:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, macaddr, ounit
|
|
|
|
}:
|
2015-05-15 07:35:42 -07:00
|
|
|
|
2018-11-05 02:21:46 -08:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ipaddr";
|
2015-05-15 07:35:42 -07:00
|
|
|
|
2019-12-29 11:40:36 -08:00
|
|
|
inherit (macaddr) version src;
|
|
|
|
|
|
|
|
buildInputs = [ ounit ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ macaddr ];
|
2015-05-15 07:35:42 -07:00
|
|
|
|
2019-12-29 11:40:36 -08:00
|
|
|
doCheck = true;
|
2015-05-15 07:35:42 -07:00
|
|
|
|
2019-12-29 11:40:36 -08:00
|
|
|
meta = with lib; {
|
2015-05-15 07:35:42 -07:00
|
|
|
homepage = https://github.com/mirage/ocaml-ipaddr;
|
|
|
|
description = "A library for manipulation of IP (and MAC) address representations ";
|
2017-12-01 12:13:38 -08:00
|
|
|
license = licenses.isc;
|
2019-12-29 11:40:36 -08:00
|
|
|
maintainers = with maintainers; [ alexfmpe ericbmerritt ];
|
2015-05-15 07:35:42 -07:00
|
|
|
};
|
|
|
|
}
|