Files
nixpkgs/pkgs/by-name/ar/arphic-uming/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
862 B
Nix

{
lib,
stdenvNoCC,
fetchurl,
mkfontdir,
mkfontscale,
}:
stdenvNoCC.mkDerivation rec {
pname = "arphic-uming";
version = "0.2.20080216.2";
src = fetchurl {
url = "mirror://ubuntu/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2";
hash = "sha256-48GeBOp6VltKz/bx5CSAhNLhB1LjBb991sdugIYNwds=";
};
nativeBuildInputs = [
mkfontscale
mkfontdir
];
installPhase = ''
runHook preInstall
install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc
cd $out/share/fonts
mkfontdir
mkfontscale
runHook postInstall
'';
meta = with lib; {
description = "CJK Unicode font Ming style";
homepage = "https://www.freedesktop.org/wiki/Software/CJKUnifonts/";
license = licenses.arphicpl;
maintainers = [ maintainers.changlinli ];
platforms = platforms.all;
};
}