nixpkgs-suyu/pkgs/development/ocaml-modules/macaddr/default.nix
2022-03-29 08:02:14 +02:00

25 lines
654 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";
};
checkInputs = [ 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 ];
};
}