Skip to content

Commit

Permalink
Add additional GDAL URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Attila Oláh committed Mar 30, 2022
1 parent e97bee7 commit 5e0029a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/gdal/package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ load("//lib:http_archive.bzl", "http_archive")
NAME = "gdal"
VERSION = "3.4.2"

URL = "https://github.com/OSGeo/{name}/releases/download/v{version}/{name}-{version}.tar.gz"
URLS = [
"http://download.osgeo.org/{name}/{version}/{name}-{version}.tar.gz",
"https://github.com/OSGeo/{name}/releases/download/v{version}/{name}-{version}.tar.gz"
]

SHA256 = "7edef6de47c67da806b74eb8d3a20550933392a295c707682ea21b72123e34ce"

def download():
http_archive(
name = NAME,
version = VERSION,
urls = [URL],
urls = URLS,
sha256 = SHA256,
strip_prefix = "{name}-{version}",
)

0 comments on commit 5e0029a

Please sign in to comment.