unicode-character-database: init at 12.1.0

This commit is contained in:
Jan Tojnar 2019-11-07 15:32:49 +01:00
parent ed4ed5869a
commit 2d405f9078
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv
, fetchurl
, unzip
}:
stdenv.mkDerivation rec {
pname = "unicode-character-database";
version = "12.1.0";
src = fetchurl {
url = "https://www.unicode.org/Public/zipped/${version}/UCD.zip";
sha256 = "19m06iw0jl7lhlggcmghi12p6jld0qrmfpksgc243yn6sjh53fi5";
};
nativeBuildInputs = [
unzip
];
setSourceRoot = ''
sourceRoot=$PWD
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/unicode
cp -r * $out/share/unicode
runHook postInstall
'';
meta = with stdenv.lib; {
description = "Unicode Character Database";
homepage = "https://www.unicode.org/";
license = licenses.free; # https://www.unicode.org/license.html
platforms = platforms.all;
};
}

View File

@ -17737,6 +17737,8 @@ in
uni-vga = callPackage ../data/fonts/uni-vga { };
unicode-character-database = callPackage ../data/misc/unicode-character-database { };
unifont = callPackage ../data/fonts/unifont { };
unifont_upper = callPackage ../data/fonts/unifont_upper { };