Merge pull request #61667 from JohnAZoidberg/cnstrokeorder
cnstrokeorder: init at 0.0.4.7
This commit is contained in:
commit
9c9c2c8716
26
pkgs/data/fonts/cnstrokeorder/default.nix
Normal file
26
pkgs/data/fonts/cnstrokeorder/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, fetchurl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "0.0.4.7";
|
||||||
|
in fetchurl {
|
||||||
|
name = "cnstrokeorder-${version}";
|
||||||
|
|
||||||
|
url = "http://rtega.be/chmn/CNstrokeorder-${version}.ttf";
|
||||||
|
|
||||||
|
recursiveHash = true;
|
||||||
|
downloadToTemp = true;
|
||||||
|
|
||||||
|
postFetch = ''
|
||||||
|
install -D $downloadedFile $out/share/fonts/truetype/CNstrokeorder-${version}.ttf
|
||||||
|
'';
|
||||||
|
|
||||||
|
sha256 = "0cizgfdgbq9av5c8234mysr2q54iw9pkxrmq5ga8gv32hxhl5bx4";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Chinese font that shows stroke order for HSK 1-4";
|
||||||
|
homepage = "http://rtega.be/chmn/index.php?subpage=68";
|
||||||
|
license = [ licenses.arphicpl ];
|
||||||
|
maintainers = with maintainers; [ johnazoidberg ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -16026,6 +16026,8 @@ in
|
|||||||
|
|
||||||
cherry = callPackage ../data/fonts/cherry { };
|
cherry = callPackage ../data/fonts/cherry { };
|
||||||
|
|
||||||
|
cnstrokeorder = callPackage ../data/fonts/cnstrokeorder {};
|
||||||
|
|
||||||
comfortaa = callPackage ../data/fonts/comfortaa {};
|
comfortaa = callPackage ../data/fonts/comfortaa {};
|
||||||
|
|
||||||
comic-neue = callPackage ../data/fonts/comic-neue { };
|
comic-neue = callPackage ../data/fonts/comic-neue { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user