[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49867] [PATCH v2 02/31] gnu: Add ocaml-domain-name.
From: |
pukkamustard |
Subject: |
[bug#49867] [PATCH v2 02/31] gnu: Add ocaml-domain-name. |
Date: |
Mon, 9 Aug 2021 07:00:55 +0000 |
* gnu/packages/ocaml.scm (ocaml-domain-name): New variable.
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6518f21f5e..56e3c39c2d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7347,6 +7347,35 @@ JavaScript backend, or @code{ocaml-cohttp-mirage} for
the MirageOS unikernel
version of the library. All of these implementations share the same IO logic
from this module.")))
+(define-public ocaml-domain-name
+ (package
+ (name "ocaml-domain-name")
+ (version "0.3.0")
+ (home-page "https://github.com/hannesm/domain-name")
+ (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
+ "06l82k27wa446k0sd799i73rrqwwmqfm542blkx6bbm2xpxaz2cm"))))
+ (build-system dune-build-system)
+ (arguments `(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-fmt" ,ocaml-fmt)
+ ("ocaml-astring" ,ocaml-astring)))
+ (native-inputs
+ `(("ocaml-alcotest" ,ocaml-alcotest)))
+ (synopsis "OCaml library for RFC 1035 Internet domain names")
+ (description "This OCaml library provides functions for working with
+Internet domain names (RFC 1035). For example, it provides functions for
+comparing domain names or checking if one domain name is a sub-domain of
+another.")
+ (license license:isc)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
--
2.32.0
- [bug#49867] [PATCH 29/29] gnu: Add ocaml-cohttp-lwt-unix, (continued)
[bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix., Xinglu Chen, 2021/08/05
- [bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 01/31] gnu: Add ocaml-cohttp-lwt., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 03/31] gnu: Add ocaml-macaddr., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 05/31] gnu: Add ocaml-ipaddr-cstruct., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 04/31] gnu: Add ocaml-ipaddr., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 02/31] gnu: Add ocaml-domain-name.,
pukkamustard <=
- [bug#49867] [PATCH v2 06/31] gnu: Add ocaml-ipaddr-sexp., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto., Julien Lepiller, 2021/08/21
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto., pukkamustard, 2021/08/23
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto., pukkamustard, 2021/08/23
[bug#49867] [PATCH v2 07/31] gnu: Add ocaml-conduit., pukkamustard, 2021/08/09
[bug#49867] [PATCH v2 08/31] gnu: Add ocaml-conduit-lwt., pukkamustard, 2021/08/09
[bug#49867] [PATCH v2 14/31] gnu: Add ocaml-duration., pukkamustard, 2021/08/09
[bug#49867] [PATCH v2 09/31] gnu: Add ocaml-afl-persistent., pukkamustard, 2021/08/09
[bug#49867] [PATCH v2 17/31] gnu: Add ocaml-mirage-crypto-pk., pukkamustard, 2021/08/09