Skip to content

Commit

Permalink
Merge pull request #5875 from psafont/dune-mswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Jul 23, 2024
2 parents 090e846 + 4f587b0 commit 1c92485
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 50 deletions.
10 changes: 10 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,16 @@ This package provides an Lwt compatible interface to the library.")

(package
(name message-switch-unix)
(synopsis "A simple store-and-forward message switch")
(description "The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages.")
(depends
base-threads
cohttp
(message-switch-core (= :version))
ppx_deriving_rpc
rpclib
(xapi-stdext-threads (= :version))
)
)

(package
Expand Down
51 changes: 28 additions & 23 deletions message-switch-unix.opam
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
# This file is generated by dune, edit dune-project instead
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
opam-version: "2.0"
name: "message-switch-unix"
maintainer: "[email protected]"
authors: [ "[email protected]" ]
homepage: "https://github.com/xapi-project/xen-api"
synopsis: "A simple store-and-forward message switch"
description:
"The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages."
maintainer: ["Xapi project maintainers"]
authors: ["[email protected]"]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/xen-api/issues"
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
tags: [ "org:xapi-project" ]
build: [
["./configure" "--prefix" "%{prefix}%"]
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"ocaml"
"dune" {build & >= "1.4"}
"odoc" {with-doc}
"dune" {>= "3.0"}
"base-threads"
"message-switch-core"
"cohttp"
"message-switch-core" {= version}
"ppx_deriving_rpc"
"xapi-stdext-unix"
"rpclib"
"xapi-stdext-threads" {= version}
"odoc" {with-doc}
]
synopsis: "A simple store-and-forward message switch"
description: """
The switch stores messages in queues with well-known names. Clients use
a simple HTTP protocol to enqueue and dequeue messages."""
url {
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
}
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
27 changes: 0 additions & 27 deletions message-switch-unix.opam.template

This file was deleted.

0 comments on commit 1c92485

Please sign in to comment.