2023-01-25 15:45:31 +01:00
|
|
|
{ lib, stdenvNoCC, fetchurl, p7zip }:
|
2018-04-28 20:09:11 +02:00
|
|
|
|
2023-01-25 15:45:31 +01:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2018-04-28 20:09:11 +02:00
|
|
|
pname = "rounded-mgenplus";
|
|
|
|
version = "20150602";
|
|
|
|
|
2023-01-25 15:45:31 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://osdn.jp/downloads/users/8/8598/${pname}-${version}.7z";
|
|
|
|
hash = "sha256-7OpnZJc9k5NiOPHAbtJGMQvsMg9j81DCvbfo0f7uJcw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ p7zip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2018-04-28 20:09:11 +02:00
|
|
|
install -m 444 -D -t $out/share/fonts/${pname} ${pname}-*.ttf
|
2023-01-25 15:45:31 +01:00
|
|
|
|
|
|
|
runHook postInstall
|
2018-04-28 20:09:11 +02:00
|
|
|
'';
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2018-04-28 20:09:11 +02:00
|
|
|
description = "A Japanese font based on Rounded M+ and Noto Sans Japanese";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://jikasei.me/font/rounded-mgenplus/";
|
2018-04-28 20:09:11 +02:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2018-05-13 00:13:46 +02:00
|
|
|
maintainers = with maintainers; [ mnacamura ];
|
2018-04-28 20:09:11 +02:00
|
|
|
};
|
|
|
|
}
|