{
  "patterns": ["\\blibgrpc\\+\\+"],
  "dependencies": [
    {
      "packages": ["libgrpc++-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu"
        },
        {
          "os": "linux",
          "distribution": "debian"
        }
      ]
    },
    {
      "packages": ["grpc-devel", "pkgconf"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "fedora"
        }
      ]
    },
    {
      "pre_install": [
        { "command": "yum install -y epel-release" },
        { "command": "dnf install -y dnf-plugins-core" },
        { "command": "dnf config-manager --set-enabled crb" }
      ],
      "packages": ["grpc-devel", "pkgconf"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "rockylinux",
          "versions": ["9"]
        }
      ]
    },
    {
      "packages": ["grpc-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "opensuse"
        },
        {
          "os": "linux",
          "distribution": "sle"
        }
      ]
    },
    {
      "packages": ["grpc-devel", "pkgconf"],
      "pre_install": [
        { "command": "subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms" }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["9"]
        }
      ]
    },
    {
      "packages": ["grpc-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "alpine"
        }
      ]
    }
  ]
}
