this repo has no description
1opam-version: "2.0"
2maintainer: "contact@trili.tech"
3authors: [
4 "TriliTech"
5 "Simon Cruanes"
6]
7homepage: "https://github.com/ocaml/opam-repository"
8bug-reports: "https://github.com/ocaml/opam-repository/issues"
9license: "MIT"
10build: [
11 ["cargo" "--version"]
12 ["rustc" "--edition" "2021" "test.rs"]
13]
14depexts: [
15 ["cargo"] {os-distribution = "centos" & os-version >= "8"}
16 ["cargo"] {os-distribution = "ol" & os-version >= "8"}
17 ["cargo"] {os-distribution = "fedora"}
18 ["cargo"] {os-family = "suse" | os-family = "opensuse"}
19 ["cargo"] {os-family = "debian"}
20 ["cargo"] {os-family = "ubuntu"}
21 ["cargo" "rustc"] {os-distribution = "nixos"}
22 ["cargo"] {os-family = "alpine"}
23 ["rust"] {os-family = "arch"}
24 ["rust"] {os = "macos" & os-distribution = "homebrew"}
25 ["rust"] {os = "freebsd"}
26]
27x-ci-accept-failures: [
28 "centos-7" # does not have cargo by default
29 "oraclelinux-7" # does not have cargo by default
30 "debian-10" # rust 2021 is not in the default repository (version is too old)
31 "debian-11" # rust 2021 is not in the default repository (version is too old)
32 "alpine-3.14" # ships with version where rust 2021 is not stable
33]
34synopsis: "Virtual package relying on cargo (rust build system)"
35description:
36 "This package can only install if cargo (edition=2021) is installed on the system."
37flags: conf
38extra-source "test.rs" {
39 src:
40 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-rust-2021/test.rs"
41 checksum:
42 "sha256=536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4"
43}