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