nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 26 lines 700 B view raw
1{ lib, fetchurl, buildDunePackage 2, ppx_sexp_conv 3}: 4 5buildDunePackage rec { 6 pname = "macaddr"; 7 version = "3.1.0"; 8 9 minimumOCamlVersion = "4.04"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/ocaml-ipaddr/archive/v${version}.tar.gz"; 13 sha256 = "1hi3v5dzg6h4qb268ch3h6v61gsc8bv21ajhb35z37v5nsdmyzbh"; 14 }; 15 16 propagatedBuildInputs = [ ppx_sexp_conv ]; 17 18 doCheck = false; # ipaddr and macaddr tests are together, which requires mutual dependency 19 20 meta = with lib; { 21 homepage = https://github.com/mirage/ocaml-ipaddr; 22 description = "A library for manipulation of MAC address representations"; 23 license = licenses.isc; 24 maintainers = [ maintainers.alexfmpe ]; 25 }; 26}