Subject: [bug#68596] [PATCH] gnu: Add viz1090.

From: Guillaume Le Vaillant <[email-masked]>
Date: Wed, 31 Jan 2024 10:03:43 +0000

Leo Famulari <[email-masked]> skribis:

> +(define-public viz1090
> [...]
> +      (native-inputs
> +       `(("political-maps"
> +          ;; version 5.1.1 of this data
> +          ;; The upstream site does not version the URL for the most recent
> +          ;; release, so we store them on archive.org to create a stable URL.
> +          ;; See 'getmap.sh' in the viz1090 source distribution.
> +          ,(origin
> +             (method url-fetch)
> +             (uri
> +               "https://archive.org/download/ne_10m_admin_1_states_provinces/ne_10m_admin_1_states_provinces.zip")
> +               ;"https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_1_states_provinces.zip")
> +             (sha256
> +              (base32
> +               "019bp9ccna1xxrk3c1af6k6pjcb7jvf0l8a6jj7ha8vk6ck9gigg"))))
> +         ("population-maps"
> +          ;; version 5.1.2 of this data
> +          ;; The upstream site does not version the URL for the most recent
> +          ;; release, so we store them on archive.org to create a stable URL.
> +          ;; See 'getmap.sh' in the viz1090 source distribution.
> [...]

Hi.
It looks like the NaturalEarthData files can also be found in the Git
repository at <https://github.com/nvkelso/natural-earth-vector>. Maybe
you could use that instead of archiving the files by hand to get
a stable URL...