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