{
    "patterns": ["\\bpandoc\\b"],
    "dependencies": [
      {
        "packages": ["pandoc"],
        "constraints": [
          {
            "os": "linux",
            "distribution": "ubuntu"
          },
          {
            "os": "linux",
            "distribution": "debian"
          }
        ]
      },
      {
        "packages": ["pandoc"],
        "constraints": [
          {
            "os": "linux",
            "distribution": "fedora"
          }
        ]
      },
      {
        "packages": ["pandoc"],
        "pre_install": [
          {
            "command": "yum install -y epel-release"
          }
        ],
        "constraints": [
          {
            "os": "linux",
            "distribution": "centos",
            "versions": ["6", "7"]
          }
        ]
      },
      {
        "packages": ["pandoc"],
        "pre_install": [
          { "command": "dnf install -y dnf-plugins-core" },
          { "command": "dnf config-manager --set-enabled powertools" }
        ],
        "constraints": [
          {
            "os": "linux",
            "distribution": "centos",
            "versions": ["8"]
          }
        ]
      },
      {
        "packages": ["pandoc"],
        "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": ["pandoc"],
        "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": ["pandoc"],
        "constraints": [
          {
            "os": "linux",
            "distribution": "opensuse"
          }
        ]
      }
    ]
  }
