1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

tzdata: 2024a -> 2024b

Changes: https://github.com/eggert/tz/blob/2024b/NEWS
(cherry picked from commit d71d9e86b1)
This commit is contained in:
Sergei Trofimovich 2024-09-05 22:05:30 +01:00 committed by github-actions[bot]
parent cac1d42880
commit a83b19a899

View file

@ -2,16 +2,16 @@
stdenv.mkDerivation (finalAttrs: {
pname = "tzdata";
version = "2024a";
version = "2024b";
srcs = [
(fetchurl {
url = "https://data.iana.org/time-zones/releases/tzdata${finalAttrs.version}.tar.gz";
hash = "sha256-DQQ0RZrL0gWaeo2h8zBKhKhlkfbtacYkj/+lArbt/+M=";
hash = "sha256-cOdU2xJqjQ2z0W1rTLX37B4E1fJhJV5FWKZ/6S055VA=";
})
(fetchurl {
url = "https://data.iana.org/time-zones/releases/tzcode${finalAttrs.version}.tar.gz";
hash = "sha256-gAcolK3/WkWPHRQ+FuTKHYsqEiycU5naSCy2jLpqH/g=";
hash = "sha256-XkOPxEliSQavFqGP9Fc3OfDNqYYuXsKNO8sZy67Q9nI=";
})
];
@ -45,11 +45,10 @@ stdenv.mkDerivation (finalAttrs: {
"CFLAGS+=-DRESERVE_STD_EXT_IDS"
];
enableParallelBuilding = true;
doCheck = true;
# everything except for:
# - check_web, because that needs curl and wants to talk to https://validator.w3.org
# - check_now, because that depends on the current time
checkTarget = "check_back check_character_set check_white_space check_links check_name_lengths check_slashed_abbrs check_sorted check_tables check_ziguard check_zishrink check_tzs";
checkTarget = "check";
installFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"zic=${buildPackages.tzdata.bin}/bin/zic"