mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
noto-fonts-cjk-serif': migrate to by-name
This commit is contained in:
parent
c7012e7cb6
commit
cd080548a7
2 changed files with 1 additions and 2 deletions
21
nix/packages/by-name/noto-fonts-cjk-serif'/package.nix
Normal file
21
nix/packages/by-name/noto-fonts-cjk-serif'/package.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# static version of noto-fonts cjk serif
|
||||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "noto-fonts-cjk-serif";
|
||||
version = "2.003";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "notofonts";
|
||||
repo = "noto-cjk";
|
||||
rev = "Serif${version}";
|
||||
hash = "sha256-mfbBSdJrUCZiUUmsmndtEW6H3z6KfBn+dEftBySf2j4=";
|
||||
sparseCheckout = ["Serif/OTC"];
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -m444 -Dt $out/share/fonts/opentype/noto-cjk Serif/OTC/*.ttc
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue