mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
28 lines
649 B
Nix
28 lines
649 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, ppx_sexp_conv, ounit
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "macaddr";
|
|
version = "5.0.1";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.04";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-ipaddr/archive/v${version}.tar.gz";
|
|
sha256 = "0ffqkhmnj8l085xgl7jxhs3ld9zsd9iavdg06nnhr1i9g1aayk1b";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|