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