Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
715 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
fetchurl,
buildDunePackage,
ocaml,
ppx_sexp_conv,
ounit2,
}:
buildDunePackage rec {
pname = "macaddr";
version = "5.6.1";
minimalOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz";
hash = "sha256-HmF9+KvUWEPII+m+dSZ9J0JstXhmHPJWItULJa4Uoxk=";
};
checkInputs = [
ppx_sexp_conv
ounit2
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = with lib; {
homepage = "https://github.com/mirage/ocaml-ipaddr";
description = "Library for manipulation of MAC address representations";
license = licenses.isc;
maintainers = [ maintainers.alexfmpe ];
};
}