Skip to content

Commit 9e33053

Browse files
authored
Merge pull request #5872 from psafont/dune-vhd-tool
2 parents e60aeb5 + d3460a3 commit 9e33053

File tree

3 files changed

+56
-62
lines changed

3 files changed

+56
-62
lines changed

dune-project

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,32 @@
321321

322322
(package
323323
(name vhd-tool)
324+
(synopsis "Manipulate .vhd files")
325+
(tags ("org.mirage" "org:xapi-project"))
326+
(depends
327+
(alcotest-lwt :with-test)
328+
cohttp-lwt
329+
conf-libssl
330+
(cstruct (>= "3.0.0"))
331+
(ezxenstore (= :version))
332+
(forkexec (= :version))
333+
io-page
334+
lwt
335+
nbd-unix
336+
ppx_cstruct
337+
ppx_deriving_rpc
338+
re
339+
rpclib
340+
sha
341+
tar
342+
(vhd-format (= :version))
343+
(vhd-format-lwt (= :version))
344+
(xapi-idl (= :version))
345+
(xapi-log (= :version))
346+
(xen-api-client-lwt (= :version))
347+
xenstore
348+
xenstore_transport
349+
)
324350
)
325351

326352
(package

vhd-tool.opam

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
# This file is generated by dune, edit dune-project instead
2-
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
32
opam-version: "2.0"
4-
maintainer: "xen-api@lists.xen.org"
5-
authors: [ "xen-api@lists.xen.org" ]
6-
homepage: "https://github.com/xapi-project/xen-api"
3+
synopsis: "Manipulate .vhd files"
4+
maintainer: ["Xapi project maintainers"]
5+
authors: ["xen-api@lists.xen.org"]
6+
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
7+
tags: ["org.mirage" "org:xapi-project"]
8+
homepage: "https://xapi-project.github.io/"
79
bug-reports: "https://github.com/xapi-project/xen-api/issues"
8-
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
9-
tags: [
10-
"org:mirage"
11-
"org:xapi-project"
12-
]
13-
build: [[ "dune" "build" "-p" name "-j" jobs ]
14-
]
1510
depends: [
16-
"ocaml"
17-
"dune"
11+
"dune" {>= "3.0"}
1812
"alcotest-lwt" {with-test}
1913
"cohttp-lwt"
2014
"conf-libssl"
2115
"cstruct" {>= "3.0.0"}
22-
"forkexec"
16+
"ezxenstore" {= version}
17+
"forkexec" {= version}
2318
"io-page"
2419
"lwt"
2520
"nbd-unix"
@@ -29,14 +24,27 @@ depends: [
2924
"rpclib"
3025
"sha"
3126
"tar"
32-
"vhd-format"
33-
"vhd-format-lwt"
34-
"xapi-idl"
35-
"xapi-log"
27+
"vhd-format" {= version}
28+
"vhd-format-lwt" {= version}
29+
"xapi-idl" {= version}
30+
"xapi-log" {= version}
31+
"xen-api-client-lwt" {= version}
3632
"xenstore"
3733
"xenstore_transport"
34+
"odoc" {with-doc}
35+
]
36+
build: [
37+
["dune" "subst"] {dev}
38+
[
39+
"dune"
40+
"build"
41+
"-p"
42+
name
43+
"-j"
44+
jobs
45+
"@install"
46+
"@runtest" {with-test}
47+
"@doc" {with-doc}
48+
]
3849
]
39-
synopsis: ".vhd file manipulation"
40-
url {
41-
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
42-
}
50+
dev-repo: "git+https://github.com/xapi-project/xen-api.git"

vhd-tool.opam.template

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)