@@ -7376,6 +7376,34 @@ comparing domain names or checking if one domain name is a sub-domain of
another.")
(license license:isc)))
+(define-public ocaml-macaddr
+ (package
+ (name "ocaml-macaddr")
+ (version "5.1.0")
+ (home-page "https://github.com/mirage/ocaml-ipaddr")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "02pan5b8s4j5r68znjdb5mln3nffccdfsh4rw71x31b6qsrlqzgg"))))
+ (build-system dune-build-system)
+ (arguments `(#:package "macaddr"
+ #:test-target "."))
+ (native-inputs
+ `(("ocaml-ounit" ,ocaml-ounit)
+ ("ocaml-domain-name" ,ocaml-domain-name)
+ ("ocaml-cstruct" ,ocaml-cstruct)
+ ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)))
+ (synopsis "OCaml library for manipulation of MAC address representations")
+ (description "This OCaml library provides functions for manipulating MAC
+address representations.")
+ (license license:isc)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")