icu78: init at 78.1 (#466490)
This commit is contained in:
@@ -23,6 +23,10 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
icu78 = make-icu {
|
||||
version = "78.1";
|
||||
hash = "sha256-Yhf1jKObIxJ2Bc/Gx+DTR1/ksNYxVwETg9cWy0FheIY=";
|
||||
};
|
||||
icu77 = make-icu {
|
||||
version = "77.1";
|
||||
hash = "sha256-WI5DH3cyfDkDH/u4hDwOO8EiwhE3RIX6h9xfP6/yQGE=";
|
||||
|
||||
@@ -30,9 +30,13 @@ let
|
||||
|
||||
baseAttrs = {
|
||||
src = fetchurl {
|
||||
url = "https://github.com/unicode-org/icu/releases/download/release-${release}/icu4c-${
|
||||
lib.replaceStrings [ "." ] [ "_" ] version
|
||||
}-src.tgz";
|
||||
url =
|
||||
if lib.versionAtLeast version "78.1" then
|
||||
"https://github.com/unicode-org/icu/releases/download/release-${version}/icu4c-${version}-sources.tgz"
|
||||
else
|
||||
"https://github.com/unicode-org/icu/releases/download/release-${release}/icu4c-${
|
||||
lib.replaceStrings [ "." ] [ "_" ] version
|
||||
}-src.tgz";
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
|
||||
@@ -7474,6 +7474,7 @@ with pkgs;
|
||||
icu75
|
||||
icu76
|
||||
icu77
|
||||
icu78
|
||||
;
|
||||
|
||||
icu = icu76;
|
||||
|
||||
Reference in New Issue
Block a user