[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH 29/39] gnu: Add ocaml-protocol-version-header.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH 29/39] gnu: Add ocaml-protocol-version-header. |
Date: |
Mon, 9 Jan 2023 01:35:19 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (ocaml-protocol-version-header): 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 9f05552c15..64d7c8065a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6846,6 +6846,29 @@ (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 url-fetch)
+ (uri
+
"https://ocaml.janestreet.com/ocaml-core/v0.15/files/protocol_version_header-v0.15.0.tar.gz")
+ (sha256
+ (base32
+ "1izks6hxqd4gjxmwiv5ng52js8jbccl5hmyrvdqznjycp9ky9i6h"))))
+ (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.38.1
- [bug#60673] [PATCH 24/39] gnu: Add ocaml-core-unix., (continued)
- [bug#60673] [PATCH 24/39] gnu: Add ocaml-core-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 31/39] gnu: Add ocaml-async., Csepp, 2023/01/08
- [bug#60673] [PATCH 35/39] gnu: Add ocaml-io-page., Csepp, 2023/01/08
- [bug#60673] [PATCH 15/39] gnu: Add ocaml-ppx-cstruct., Csepp, 2023/01/08
- [bug#60673] [PATCH 16/39] gnu: Add ocaml-mirage-profile-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 20/39] gnu: Add ocaml-mirage-logs., Csepp, 2023/01/08
- [bug#60673] [PATCH 22/39] gnu: Add ocaml-expect-test-helpers-core., Csepp, 2023/01/08
- [bug#60673] [PATCH 32/39] gnu: Add ocaml-shared-memory-ring., Csepp, 2023/01/08
- [bug#60673] [PATCH 34/39] gnu: Add ocaml-xenstore., Csepp, 2023/01/08
- [bug#60673] [PATCH 36/39] gnu: Add ocaml-bheap., Csepp, 2023/01/08
- [bug#60673] [PATCH 29/39] gnu: Add ocaml-protocol-version-header.,
Csepp <=
- [bug#60673] [PATCH 18/39] gnu: Add ocaml-mirage-clock., Csepp, 2023/01/08
- [bug#60673] [PATCH 26/39] gnu: Add ocaml-async-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 30/39] gnu: Add ocaml-async-rpc-kernel., Csepp, 2023/01/08
- [bug#60673] [PATCH 27/39] gnu: Add ocaml-textutils-kernel., Csepp, 2023/01/08
- [bug#60673] [PATCH 33/39] gnu: Alias ocaml-shared-memory-ring-lwt to ocaml-shared-memory-ring., Csepp, 2023/01/08
- [bug#60673] [PATCH 37/39] gnu: Add ocaml-mirage-xen., Csepp, 2023/01/08
- [bug#60673] [PATCH 38/39] gnu: Add ocaml-parse-argv., Csepp, 2023/01/08