update packages, and add noto-font packages
This commit is contained in:
parent
e6ac0f0edf
commit
d0980e681c
7 changed files with 145 additions and 16 deletions
21
pkgs/noto-serif-cjk.nix
Normal file
21
pkgs/noto-serif-cjk.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
nixosTests,
|
||||
srcs,
|
||||
stdenvNoCC,
|
||||
...
|
||||
}:
|
||||
let
|
||||
source = srcs.noto-serif-cjk;
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "noto-serif-cjk";
|
||||
version = source.version;
|
||||
|
||||
src = source.src;
|
||||
|
||||
installPhase = ''
|
||||
install -m444 -Dt $out/share/fonts/opentype/noto-serif-cjk Serif/OTC/*.ttc
|
||||
'';
|
||||
|
||||
passthru.tests.noto-fonts = nixosTests.noto-fonts;
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue