[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/45: gnu: Add ocaml-protocol-version-header.
From: |
guix-commits |
Subject: |
29/45: gnu: Add ocaml-protocol-version-header. |
Date: |
Fri, 17 Feb 2023 10:49:34 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 7fbe38d7bf90dacc90ec514ddb3a0274fa880d40
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:18 2023 +0100
gnu: Add ocaml-protocol-version-header.
* gnu/packages/ocaml.scm (ocaml-protocol-version-header): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 68ecdcc736..10655923d0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6865,6 +6865,32 @@ storage of large amounts of data.")
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")
- 01/45: gnu: Add ocaml-domain-name., (continued)
- 01/45: gnu: Add ocaml-domain-name., guix-commits, 2023/02/17
- 25/45: gnu: Add ocaml-async-kernel., guix-commits, 2023/02/17
- 36/45: gnu: Add ocaml-bheap., guix-commits, 2023/02/17
- 37/45: gnu: Add ocaml-mirage-xen., guix-commits, 2023/02/17
- 40/45: gnu: p11-kit-next: Switch to meson-build-system., guix-commits, 2023/02/17
- 13/45: gnu: Add ocaml-mirage-time., guix-commits, 2023/02/17
- 19/45: gnu: Add ocaml-ptime., guix-commits, 2023/02/17
- 20/45: gnu: Add ocaml-mirage-logs., guix-commits, 2023/02/17
- 12/45: gnu: Add ocaml-mirage-unix., guix-commits, 2023/02/17
- 30/45: gnu: Add ocaml-async-rpc-kernel., guix-commits, 2023/02/17
- 29/45: gnu: Add ocaml-protocol-version-header.,
guix-commits <=
- 35/45: gnu: Add ocaml-io-page., guix-commits, 2023/02/17
- 41/45: gnu: Add go-gopkg-in-irc-v3., guix-commits, 2023/02/17
- 44/45: gnu: Add docker-registry., guix-commits, 2023/02/17