mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-04 18:07:24 +01:00
gnu: Add ocaml-domain-name.
gnu/packages/ocaml.scm (ocaml-domain-name): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
eb38e74c6b
commit
fa06b3124c
1 changed files with 23 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
|
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
|
||||||
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
|
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
|
||||||
|
;;; Copyright © 2023 Csepp <raingloom@riseup.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -3529,6 +3530,28 @@ (define-public ocaml-ocp-index
|
||||||
(license (list license:gpl3+
|
(license (list license:gpl3+
|
||||||
license:lgpl2.1+))))
|
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
|
(define-public ocaml-ocurl
|
||||||
(package
|
(package
|
||||||
(name "ocaml-ocurl")
|
(name "ocaml-ocurl")
|
||||||
|
|
Loading…
Reference in a new issue