[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/45: gnu: Add ocaml-macaddr.
From: |
guix-commits |
Subject: |
02/45: gnu: Add ocaml-macaddr. |
Date: |
Fri, 17 Feb 2023 10:49:30 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 4d4486a5c2edc0b1c85eb6e9704e8211a05eb440
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 22:59:51 2023 +0100
gnu: Add ocaml-macaddr.
* gnu/packages/ocaml.scm (ocaml-macaddr): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 75f112f0ac..7fb32ade5a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3552,6 +3552,35 @@ and command-line tool.")
length of domain names are preserved throughout the module.")
(license license:isc)))
+(define-public ocaml-macaddr
+ (package
+ (name "ocaml-macaddr")
+ (version "5.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mirage/ocaml-ipaddr/")
+ (commit (string-append "v" version))))
+ (file-name name)
+ (sha256
+ (base32
+ "1zgwx0ms3l4k4dzwnkrwq4zzqjrddjsvqn66mbd0rm6aq1ib019d"))))
+ (build-system dune-build-system)
+ (arguments '(#:package "macaddr"))
+ (propagated-inputs (list ocaml-cstruct ocaml-domain-name))
+ (native-inputs (list ocaml-ounit2 ocaml-ppx-sexp-conv))
+ (home-page "https://github.com/mirage/ocaml-ipaddr")
+ (synopsis "OCaml library for manipulation of MAC address representations")
+ (description
+ "Features:
+@itemize
+@item MAC-48 (Ethernet) address support
+@item @code{Macaddr} is a @code{Map.OrderedType}
+@item All types have sexplib serializers/deserializers optionally via the
+@code{Macaddr_sexp} library
+@end itemize")
+ (license license:isc)))
+
(define-public ocaml-ocurl
(package
(name "ocaml-ocurl")
- branch master updated (eb38e74c6b -> c3dd743b9a), guix-commits, 2023/02/17
- 10/45: gnu: Add ocaml-mirage., guix-commits, 2023/02/17
- 02/45: gnu: Add ocaml-macaddr.,
guix-commits <=
- 04/45: gnu: Add ocaml-opam-monorepo., guix-commits, 2023/02/17
- 07/45: gnu: Add ocaml-functoria-runtime, guix-commits, 2023/02/17
- 15/45: gnu: Add ocaml-ppx-cstruct., guix-commits, 2023/02/17
- 18/45: gnu: Add ocaml-mirage-clock., guix-commits, 2023/02/17
- 27/45: gnu: Add ocaml-textutils-kernel., guix-commits, 2023/02/17
- 34/45: gnu: Add ocaml-xenstore., guix-commits, 2023/02/17
- 39/45: gnu: Add ocaml-mirage-bootvar-unix., guix-commits, 2023/02/17
- 03/45: gnu: Add ocaml-ipaddr., guix-commits, 2023/02/17
- 21/45: gnu: Add ocaml-sexp-pretty., guix-commits, 2023/02/17
- 11/45: gnu: Add ocaml-duration., guix-commits, 2023/02/17