{
  "patterns": ["\\blibgsl\\b", "\\bgsl\\b", "\\bgnu scientific library\\b"],
  "dependencies": [
    {
      "packages": ["libgsl0-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu"
        },
        {
          "os": "linux",
          "distribution": "debian"
        }
      ]
    },
    {
      "packages": ["gsl-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos"
        },
        {
          "os": "linux",
          "distribution": "fedora"
        },
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["7", "8"]
        },
        {
          "os": "linux",
          "distribution": "rockylinux",
          "versions": ["8", "9"]
        }
      ]
    },
    {
      "packages": ["gsl-devel"],
      "pre_install": [
        { "command": "subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms" }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["9"]
        }
      ]
    },
    {
      "packages": ["gsl-devel"],
      "pre_install": [
        { "command": "dnf install -y epel-release" }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "rockylinux",
          "versions": ["10"]
        }
      ]
    },
    {
      "packages": ["gsl-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": ["gsl-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "opensuse"
        },
        {
          "os": "linux",
          "distribution": "sle"
        }
      ]
    },
    {
      "packages": ["gsl-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "alpine"
        }
      ]
    },
    {
      "packages": [
        "mingw-w64-x86_64-gsl",
        "mingw-w64-i686-gsl"
      ],
      "constraints": [
        {
          "os": "windows"
        }
      ]
    }
  ]
}
