[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH v2 29/39] gnu: Add ocaml-protocol-version-header.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH v2 29/39] gnu: Add ocaml-protocol-version-header. |
Date: |
Wed, 15 Feb 2023 23:00:18 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (ocaml-protocol-version-header): New variable.
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 8e313d74bb..86c22f500c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6867,6 +6867,32 @@ (define-public ocaml4.07-bin-prot
license:asl2.0
license:bsd-3)))))
+(define-public ocaml-protocol-version-header
+ (package
+ (name "ocaml-protocol-version-header")
+ (version "0.15.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/janestreet/protocol_version_header")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0s638cwf1357gg754rc4306654hhrhzqaqm2lp3yv5vj3ml8p4qy"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-core ocaml-ppx-jane))
+ (properties `((upstream-name . "protocol_version_header")))
+ (home-page "https://github.com/janestreet/protocol_version_header")
+ (synopsis "Protocol versioning")
+ (description
+ "This library offers a lightweight way for applications protocols to
+version themselves. The more protocols that add themselves to
+@code{Known_protocol}, the nicer error messages we will get when connecting to
+a service while using the wrong protocol.")
+ (license license:expat)))
+
(define-public ocaml-octavius
(package
(name "ocaml-octavius")
--
2.39.1
- [bug#60673] [PATCH v2 31/39] gnu: Add ocaml-async., (continued)
- [bug#60673] [PATCH v2 31/39] gnu: Add ocaml-async., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 23/39] gnu: Add ocaml-intrinsics., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 33/39] gnu: Add ocaml-shared-memory-ring-lwt., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 32/39] gnu: Add ocaml-shared-memory-ring., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 35/39] gnu: Add ocaml-io-page., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 26/39] gnu: Add ocaml-async-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 25/39] gnu: Add ocaml-async-kernel., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 27/39] gnu: Add ocaml-textutils-kernel., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 10/39] gnu: Add ocaml-mirage., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 28/39] gnu: Add ocaml-textutils., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 29/39] gnu: Add ocaml-protocol-version-header.,
Csepp <=
- [bug#60673] [PATCH v2 39/39] gnu: Add ocaml-mirage-bootvar-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 34/39] gnu: Add ocaml-xenstore., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 36/39] gnu: Add ocaml-bheap., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 22/39] gnu: Add ocaml-expect-test-helpers-core., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 24/39] gnu: Add ocaml-core-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 30/39] gnu: Add ocaml-async-rpc-kernel., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 38/39] gnu: Add ocaml-parse-argv., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 37/39] gnu: Add ocaml-mirage-xen., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 18/39] gnu: Add ocaml-mirage-clock., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 21/39] gnu: Add ocaml-sexp-pretty., Csepp, 2023/02/15