2024-04-21 15:54:59 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "plemoljp";
|
|
|
|
version = "1.7.1";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/yuru7/PlemolJP/releases/download/v${version}/PlemolJP_v${version}.zip";
|
|
|
|
hash = "sha256-YH1c/2jk8QZNyPvzRZjxNHyNeci9tjn+oOW8xLd8kjk=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -Dm444 PlemolJP/*.ttf -t $out/share/fonts/truetype/${pname}
|
|
|
|
install -Dm444 PlemolJP35/*.ttf -t $out/share/fonts/truetype/${pname}-35
|
|
|
|
install -Dm444 PlemolJPConsole/*.ttf -t $out/share/fonts/truetype/${pname}-console
|
|
|
|
install -Dm444 PlemolJP35Console/*.ttf -t $out/share/fonts/truetype/${pname}-35console
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Composite font of IBM Plex Mono and IBM Plex Sans JP";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/yuru7/PlemolJP";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ kachick ];
|
|
|
|
};
|
|
|
|
}
|