{
  "patterns": ["\\bv8\\b"],
  "dependencies": [
    {
      "packages": ["libnode-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu",
          "versions": ["20.04", "22.04"]
        },
        {
          "os": "linux",
          "distribution": "debian"
        }
      ]
    },
    {
      "packages": ["libv8-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu",
          "versions": ["18.04"]
        }
      ]
    },
    {
      "packages": ["v8-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "fedora"
        }
      ]
    },
    {
      "packages": ["v8-devel"],
      "pre_install": [
        {
          "command": "yum install -y epel-release"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos",
          "versions": ["6", "7"]
        }
      ]
    },
    {
      "packages": ["v8-devel"],
      "pre_install": [
        {
          "command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["6"]
        }
      ]
    },
    {
      "packages": ["v8-devel"],
      "pre_install": [
        {
          "command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["7"]
        }
      ]
    },
    {
      "packages": ["nodejs-libs"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "rockylinux"
        },
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["9"]
        }
      ]
    },
    {
      "packages": ["v8-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "opensuse",
          "versions": ["42.3"]
        }
      ]
    }
  ]
}
