nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at fix-function-merge 25 lines 693 B view raw
1{ lib, fetchurl, buildDunePackage, ocaml 2, ppx_sexp_conv, ounit2 3}: 4 5buildDunePackage rec { 6 pname = "macaddr"; 7 version = "5.6.0"; 8 9 minimalOCamlVersion = "4.04"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz"; 13 hash = "sha256-njBDP9tMpDemqo/7RHuspeunYV+4jnsM2KS0FsMggTM="; 14 }; 15 16 checkInputs = [ ppx_sexp_conv ounit2 ]; 17 doCheck = lib.versionAtLeast ocaml.version "4.08"; 18 19 meta = with lib; { 20 homepage = "https://github.com/mirage/ocaml-ipaddr"; 21 description = "Library for manipulation of MAC address representations"; 22 license = licenses.isc; 23 maintainers = [ maintainers.alexfmpe ]; 24 }; 25}