[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH v2 01/39] gnu: Add ocaml-domain-name.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH v2 01/39] gnu: Add ocaml-domain-name. |
Date: |
Wed, 15 Feb 2023 22:59:50 +0100 |
From: raingloom <raingloom@riseup.net>
gnu/packages/ocaml.scm (ocaml-domain-name): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0cc92c3e85..75f112f0ac 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
+;;; Copyright © 2023 Csepp <raingloom@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3529,6 +3530,28 @@ (define-public ocaml-ocp-index
(license (list license:gpl3+
license:lgpl2.1+))))
+(define-public ocaml-domain-name
+ (package
+ (name "ocaml-domain-name")
+ (version "0.4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hannesm/domain-name/")
+ (commit (string-append "v" version))))
+ (file-name name)
+ (sha256
+ (base32
+ "1a669zz1pc7sqbi1c13jsnp8algcph2b8gr5fjrjhyh3p232770k"))))
+ (build-system dune-build-system)
+ (native-inputs (list ocaml-alcotest))
+ (home-page "https://github.com/hannesm/domain-name")
+ (synopsis "RFC 1035 Internet domain name data structure and parser")
+ (description
+ "Parses and constructs RFC compliant domain names. The invariants on the
+length of domain names are preserved throughout the module.")
+ (license license:isc)))
+
(define-public ocaml-ocurl
(package
(name "ocaml-ocurl")
--
2.39.1
- [bug#60673], Csepp, 2023/02/15
- [bug#60673] [PATCH v2 01/39] gnu: Add ocaml-domain-name.,
Csepp <=
- [bug#60673] [PATCH v2 04/39] gnu: Add ocaml-opam-monorepo., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 02/39] gnu: Add ocaml-macaddr., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 03/39] gnu: Add ocaml-ipaddr., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 05/39] gnu: Add ocaml-pecu., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 06/39] gnu: Add ocaml-emile., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 07/39] gnu: Add ocaml-functoria-runtime, Csepp, 2023/02/15
- [bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 13/39] gnu: Add ocaml-mirage-time., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 09/39] gnu: Add ocaml-functoria., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages., Csepp, 2023/02/15