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