a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
25 lines
660 B
Nix
25 lines
660 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, ppx_sexp_conv, ounit
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "macaddr";
|
|
version = "5.3.0";
|
|
|
|
minimalOCamlVersion = "4.04";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz";
|
|
sha256 = "0mdp38mkvk2f5h2q7nb9fc70a8hyssblnl7kam0d8r5lckgrx5rn";
|
|
};
|
|
|
|
nativeCheckInputs = [ ppx_sexp_conv ounit ];
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirage/ocaml-ipaddr";
|
|
description = "A library for manipulation of MAC address representations";
|
|
license = licenses.isc;
|
|
maintainers = [ maintainers.alexfmpe ];
|
|
};
|
|
}
|