unicode-character-database: init at 12.1.0
This commit is contained in:
parent
ed4ed5869a
commit
2d405f9078
2 changed files with 40 additions and 0 deletions
38
pkgs/data/misc/unicode-character-database/default.nix
Normal file
38
pkgs/data/misc/unicode-character-database/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue