Skip to content

Commit

Permalink
opam: generate xapi-networkd using dune
Browse files Browse the repository at this point in the history
Signed-off-by: Pau Ruiz Safont <[email protected]>
  • Loading branch information
psafont committed Jul 5, 2024
1 parent 3f5e62d commit 832fd36
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 59 deletions.
21 changes: 21 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,27 @@

(package
(name xapi-networkd)
(authors "Jon Ludlam")
(synopsis "The XCP networking daemon")
(depends
(alcotest :with-test)
astring
base-threads
(forkexec (= :version))
(http-lib (= :version))
mtime
netlink
re
rpclib
(xapi-idl (= :version))
xapi-inventory
(xapi-stdext-pervasives (= :version))
(xapi-stdext-std (= :version))
(xapi-stdext-threads (= :version))
(xapi-stdext-unix (= :version))
xapi-test-utils
(xen-api-client (= :version))
)
)

(package
Expand Down
55 changes: 31 additions & 24 deletions xapi-networkd.opam
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
# This file is generated by dune, edit dune-project instead
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
opam-version: "2.0"
maintainer: "[email protected]"
authors: "[email protected]"
homepage: "https://github.com/xapi-project/xen-api"
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
synopsis: "The XCP networking daemon"
maintainer: ["Xapi project maintainers"]
authors: ["Jon Ludlam"]
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"
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"astring"
"dune" {>= "3.0"}
"alcotest" {with-test}
"astring"
"base-threads"
"forkexec"
"http-lib"
"forkexec" {= version}
"http-lib" {= version}
"mtime"
"netlink"
"re"
"rpclib"
"systemd"
"xapi-idl"
"xapi-idl" {= version}
"xapi-inventory"
"xapi-stdext-pervasives"
"xapi-stdext-std"
"xapi-stdext-threads"
"xapi-stdext-unix"
"xapi-stdext-pervasives" {= version}
"xapi-stdext-std" {= version}
"xapi-stdext-threads" {= version}
"xapi-stdext-unix" {= version}
"xapi-test-utils"
"xen-api-client"
"xen-api-client" {= version}
"odoc" {with-doc}
]
synopsis: "The XCP networking daemon"
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"
35 changes: 0 additions & 35 deletions xapi-networkd.opam.template

This file was deleted.

0 comments on commit 832fd36

Please sign in to comment.