Merge pull request #61659 from ptrhlm/kanji-stroke-order-font
kanji-stroke-order-font: init at 4.002
This commit is contained in:
commit
5f6384976f
@ -4005,6 +4005,11 @@
|
|||||||
github = "Ptival";
|
github = "Ptival";
|
||||||
name = "Valentin Robert";
|
name = "Valentin Robert";
|
||||||
};
|
};
|
||||||
|
ptrhlm = {
|
||||||
|
email = "ptrhlm0@gmail.com";
|
||||||
|
github = "ptrhlm";
|
||||||
|
name = "Piotr Halama";
|
||||||
|
};
|
||||||
puffnfresh = {
|
puffnfresh = {
|
||||||
email = "brian@brianmckenna.org";
|
email = "brian@brianmckenna.org";
|
||||||
github = "puffnfresh";
|
github = "puffnfresh";
|
||||||
|
26
pkgs/data/fonts/kanji-stroke-order-font/default.nix
Normal file
26
pkgs/data/fonts/kanji-stroke-order-font/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "4.002";
|
||||||
|
in fetchzip {
|
||||||
|
name = "kanji-stroke-order-font-${version}";
|
||||||
|
|
||||||
|
url = "https://sites.google.com/site/nihilistorguk/KanjiStrokeOrders_v${version}.zip?attredirects=0";
|
||||||
|
|
||||||
|
postFetch = ''
|
||||||
|
mkdir -p $out/share/fonts/kanji-stroke-order $out/share/doc/kanji-stroke-order
|
||||||
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/kanji-stroke-order
|
||||||
|
unzip -j $downloadedFile \*.txt -d $out/share/doc/kanji-stroke-order
|
||||||
|
'';
|
||||||
|
|
||||||
|
sha256 = "194ylkx5p7r1461wnnd3hisv5dz1xl07fyxmg8gv47zcwvdmwkc0";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Font containing stroke order diagrams for over 6500 kanji, 180 kana and other characters";
|
||||||
|
homepage = "https://sites.google.com/site/nihilistorguk/";
|
||||||
|
|
||||||
|
license = [ licenses.bsd3 ];
|
||||||
|
maintainers = with maintainers; [ ptrhlm ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -16214,6 +16214,8 @@ in
|
|||||||
|
|
||||||
junicode = callPackage ../data/fonts/junicode { };
|
junicode = callPackage ../data/fonts/junicode { };
|
||||||
|
|
||||||
|
kanji-stroke-order-font = callPackage ../data/fonts/kanji-stroke-order-font {};
|
||||||
|
|
||||||
kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {};
|
kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {};
|
||||||
|
|
||||||
kochi-substitute = callPackage ../data/fonts/kochi-substitute {};
|
kochi-substitute = callPackage ../data/fonts/kochi-substitute {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user