2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl, p7zip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "rounded-mgenplus";
|
|
|
|
version = "20150602";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://osdn.jp/downloads/users/8/8598/${pname}-${version}.7z";
|
|
|
|
hash = "sha256-7OpnZJc9k5NiOPHAbtJGMQvsMg9j81DCvbfo0f7uJcw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ p7zip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
install -m 444 -D -t $out/share/fonts/${pname} ${pname}-*.ttf
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Japanese font based on Rounded M+ and Noto Sans Japanese";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://jikasei.me/font/rounded-mgenplus/";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ mnacamura ];
|
|
|
|
};
|
|
|
|
}
|