From 86a03e7e1d482d88fa0dd1fee6fc8e21e743c8b3 Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 9 Dec 2024 10:34:31 +0000 Subject: [PATCH] opencellid: fix hash --- pkgs/by-name/opencellid/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/opencellid/package.nix b/pkgs/by-name/opencellid/package.nix index 7b65d24b0..7a97ba79f 100644 --- a/pkgs/by-name/opencellid/package.nix +++ b/pkgs/by-name/opencellid/package.nix @@ -17,9 +17,9 @@ stdenv.mkDerivation rec { # this is a live url. updated... weekly? the server seems to silently ignore unrecognized query parameters, # so i append a version tag such that bumping it forces nix to re-fetch the data. # the API key should allow for at least 2 downloads per day (maybe more?) - # TODO: add an update script for this. + # TODO: repackage this such that hashes can be stable (mirror the data in a versioned repo, and point to that here?) url = "https://opencellid.org/ocid/downloads?token=${apiKey}&type=full&file=cell_towers.csv.gz&_stamp=${version}"; - hash = "sha256-Hm6bSHFe/6kRmWGIZlJx9pEg9UWF+eLO3EP9Sm9wk5Y="; + hash = "sha256-LjBjyePO4y7lGyq0SzcCEQe9hnTZ2RfludVuthJVxDA="; }; unpackPhase = ''