2019-12-29 19:40:36 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2020-06-25 22:22:21 +01:00
|
|
|
, ppx_sexp_conv, ounit
|
2019-12-29 19:40:36 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "macaddr";
|
2020-06-25 22:22:21 +01:00
|
|
|
version = "5.0.0";
|
2019-12-29 19:40:36 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.04";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/ocaml-ipaddr/archive/v${version}.tar.gz";
|
2020-06-25 22:22:21 +01:00
|
|
|
sha256 = "1j2m2v64g3d81sixxq3g57j1iyk6042ivsszml18akrqvwfpxy66";
|
2019-12-29 19:40:36 +00:00
|
|
|
};
|
|
|
|
|
2020-06-25 22:22:21 +01:00
|
|
|
checkInputs = [ ppx_sexp_conv ounit ];
|
|
|
|
doCheck = true;
|
2019-12-29 19:40:36 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mirage/ocaml-ipaddr";
|
2019-12-29 19:40:36 +00:00
|
|
|
description = "A library for manipulation of MAC address representations";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.alexfmpe ];
|
|
|
|
};
|
|
|
|
}
|