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WN1dGlvbiBlbnZpcm9ubWVudCAoYWxsIHRlbmRlcnMpCgpFT0Q7Cg=="
  ]
  [
    "sha256=de076b8c087799fc58be45396bf4778180faface9c1cc3ceaa9ddaed8a583abe"
    "Rm9ybWF0OiBodHRwczovL3d3dy5kZWJpYW4ub3JnL2RvYy9wYWNrYWdpbmctbWFudWFscy9jb3B5cmlnaHQtZm9ybWF0LzEuMC8KVXBzdHJlYW0tTmFtZTogc29sbzUKVXBzdHJlYW0tQ29udGFjdDogUm9idXIgVGVhbSA8dGVhbUByb2J1ci5jb29wPgpTb3VyY2U6IGh0dHBzOi8vZ2l0aHViLmNvbS9zb2xvNS9zb2xvNQoKRmlsZXM6ICoKQ29weXJpZ2h0OiAiRGFuIFdpbGxpYW1zIDxkandpbGxpYUB1cy5pYm0uY29tPiIgIk1hcnRpbiBMdWNpbmEgPG1hcnRpbkBsdWNpbmEubmV0PiIgIlJpY2FyZG8gS29sbGVyIDxrb2xsZXJyQHVzLmlibS5jb20+IgpMaWNlbnNlOiBJU0MK"
  ]
]
opam-version: "2.0"
roots: ["solo5-tenders.0.8.1"]
installed: ["conf-libseccomp.1" "conf-pkg-config.3" "solo5-tenders.0.8.1"]
package "conf-libseccomp" {
  opam-version: "2.0"
  version: "1"
  synopsis: "Virtual package relying on a libseccomp system installation"
  description:
    "This package can only install if libseccomp is installed on the system."
  maintainer: "Martin Lucina <martin@lucina.net>"
  authors: "Paul Moore"
  license: "LGPL-2.1-only"
  homepage: "https://github.com/seccomp/libseccomp"
  bug-reports: "https://github.com/ocaml/opam-repository/issues"
  depends: [
    "conf-pkg-config" {build}
  ]
  available: os = "linux"
  flags: conf
  build: ["pkg-config" "--print-errors" "--exists" "libseccomp"]
  depexts: [
    ["libseccomp-dev"] {os-family = "alpine"}
    ["libseccomp-dev"] {os-family = "debian"}
    ["libseccomp-dev"] {os-family = "ubuntu"}
    ["libseccomp-devel"] {os-distribution = "fedora"}
    ["libseccomp-devel"] {os-distribution = "rhel"}
    ["libseccomp-devel"] {os-distribution = "centos"}
    ["libseccomp-devel"] {os-distribution = "ol" & os-version >= "8"}
    ["libseccomp-devel"] {os-family = "suse" | os-family = "opensuse"}
    ["libseccomp"] {os-family = "arch"}
    ["libseccomp"] {os-distribution = "nixos"}
  ]
  x-ci-accept-failures: ["oraclelinux-7"]
}
package "conf-pkg-config" {
  opam-version: "2.0"
  version: "3"
  synopsis:
    "Check if pkg-config is installed and create an opam switch local pkgconfig folder"
  description: """\
This package can only install if the pkg-config package is installed
on the system."""
  maintainer: "unixjunkie@sdf.org"
  authors: "Francois Berenger"
  license: "GPL-1.0-or-later"
  homepage: "http://www.freedesktop.org/wiki/Software/pkg-config/"
  bug-reports: "https://github.com/ocaml/opam-repository/issues"
  depends: [
    ("host-arch-x86_64" {os = "win32" & os-distribution = "msys2"} &
     "conf-mingw-w64-pkgconf-x86_64"
       {os = "win32" & os-distribution = "msys2"} |
     "host-arch-x86_32" {os = "win32" & os-distribution = "msys2"} &
     "conf-mingw-w64-pkgconf-i686" {os = "win32" & os-distribution = "msys2"})
  ]
  flags: conf
  build: [
    ["pkg-config" "--help"] {os != "openbsd" & os != "win32"}
    ["pkgconf" "--version"] {os = "win32" & os-distribution != "msys2"}
  ]
  depexts: [
    ["pkg-config"] {os-family = "debian" | os-family = "ubuntu"}
    ["pkgconf"] {os-distribution = "arch"}
    ["pkgconf-pkg-config"] {os-distribution = "fedora"}
    ["pkgconfig"] {os-distribution = "centos" & os-version <= "7"}
    ["pkgconf-pkg-config"] {os-distribution = "mageia"}
    ["pkgconfig"] {os-distribution = "rhel" & os-version <= "7"}
    ["pkgconfig"] {os-distribution = "ol" & os-version <= "7"}
    ["pkgconf"] {os-distribution = "alpine"}
    ["pkg-config"] {os-distribution = "nixos"}
    ["pkg-config"] {os = "macos" & os-distribution = "homebrew"}
    ["pkgconfig"] {os = "macos" & os-distribution = "macports"}
    ["pkgconf"] {os = "freebsd"}
    ["pkgconf-pkg-config"] {os-distribution = "rhel" & os-version >= "8"}
    ["pkgconf-pkg-config"] {os-distribution = "centos" & os-version >= "8"}
    ["pkgconf-pkg-config"] {os-distribution = "ol" & os-version >= "8"}
    ["system:pkgconf"] {os = "win32" & os-distribution = "cygwinports"}
    ["pkgconf"] {os-distribution = "cygwin"}
  ]
}
package "solo5-tenders" {
  opam-version: "2.0"
  version: "0.8.1"
  synopsis: "Solo5 sandboxed execution environment"
  description: """\
Solo5 is a sandboxed execution environment primarily intended
for, but not limited to, running applications built using various
unikernels (a.k.a.  library operating systems).

This package provides the Solo5 components needed to run MirageOS
unikernels on the host system."""
  maintainer: "martin@lucina.net"
  authors: [
    "Dan Williams <djwillia@us.ibm.com>"
    "Martin Lucina <martin@lucina.net>"
    "Ricardo Koller <kollerr@us.ibm.com>"
  ]
  license: "ISC"
  homepage: "https://github.com/solo5/solo5"
  bug-reports: "https://github.com/solo5/solo5/issues"
  depends: [
    "conf-pkg-config" {build & os = "linux"}
    "conf-libseccomp" {build & os = "linux"}
  ]
  conflicts: [
    "ocaml-freestanding" {< "0.7.0"}
    "solo5-bindings-hvt"
    "solo5-bindings-spt"
    "solo5-bindings-virtio"
    "solo5-bindings-muen"
    "solo5-bindings-genode"
    "solo5-bindings-xen"
    "solo5"
  ]
  available:
    (arch = "x86_64" | arch = "arm64" | arch = "ppc64") &
    (os = "linux" | os = "freebsd" | os = "openbsd")
  build: [
    ["./configure.sh" "--prefix=%{prefix}%" "--disable-toolchain"]
    [make "V=1"]
    ["sh" "-ex" "packaging/FreeBSD/create_package.sh"] {os = "freebsd"}
    ["sh" "-ex" "packaging/debian/create_package.sh"] {os-family = "debian"}
  ]
  depexts: [
    ["linux-headers"] {os-distribution = "alpine"}
    ["kernel-headers"] {os-distribution = "fedora"}
    ["kernel-headers"] {os-distribution = "rhel"}
    ["linux-libc-dev"] {os-family = "debian"}
  ]
  dev-repo: "git+https://github.com/solo5/solo5.git"
  extra-files: [
    [
      "packaging/FreeBSD/MANIFEST"
      "sha256=9cbfb3001fec0851f4bcf2685f883bff5531ee68b8d42ef8c81c0aa8e7fd8d4d"
    ]
    [
      "packaging/FreeBSD/create_package.sh"
      "sha256=562fe1c663e8edf4da8165b0b7a1c8a0a69cf9e9f84b3c79725c6e8ff514e7c2"
    ]
    [
      "packaging/debian/changelog"
      "sha256=16245cc7d211d98c97f1b0eeb51bb14a77907e1e50fdb20566d63e1c10afa673"
    ]
    [
      "packaging/debian/control"
      "sha256=6ee997e8aedb65960652b756340e546aa168101c06c50ae4fcc6d30221b77680"
    ]
    [
      "packaging/debian/copyright"
      "sha256=de076b8c087799fc58be45396bf4778180faface9c1cc3ceaa9ddaed8a583abe"
    ]
    [
      "packaging/debian/create_package.sh"
      "sha256=0df2e46c6f2d71f2714d42d1bcd0df89bc4a7ccb555310ee3a5311099dbf65d0"
    ]
  ]
  url {
    src:
      "https://github.com/Solo5/solo5/releases/download/v0.8.1/solo5-v0.8.1.tar.gz"
    checksum:
      "sha512=83d7f1e1a9a9b99029d692c03bf7d61e23945f00e6af074556fe877117c1bdaffbc4e2faf993ace96ab123e82db22bd33c60129878d4a3b4c70406aa937048c9"
  }
  x-ci-accept-failures: ["centos-7"]
}