{
  "patterns": ["\\blibssh\\b"],
  "dependencies": [
    {
      "packages": ["libssh-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu"
        },
        {
          "os": "linux",
          "distribution": "debian"
        }
      ]
    },
    {
      "packages": ["libssh-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "fedora"
        }
      ]
    },
    {
      "packages": ["libssh-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos",
          "versions": ["6", "7"]
        }
      ]
    },
    {
      "packages": ["libssh-devel"],
      "pre_install": [
        { "command": "dnf install -y epel-release" }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "rockylinux"
        }
      ]
    },
    {
      "packages": ["libssh"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["7", "8"]
        }
      ]
    },
    {
      "packages": ["libssh-devel"],
      "pre_install": [
        {
          "command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["9", "10"]
        }
      ]
    },
    {
      "packages": ["libssh-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "opensuse"
        },
        {
          "os": "linux",
          "distribution": "sle"
        }
      ]
    },
    {
      "packages": ["libssh-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "alpine"
        }
      ]
    },
    {
      "packages": [
        "mingw-w64-x86_64-libssh",
        "mingw-w64-i686-libssh"
      ],
      "constraints": [
        {
          "os": "windows"
        }
      ]
    }
  ]
}
