blob: b314fd45eef89b72b396c89a012b7692691c0243 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ lib, stdenvNoCC, fetchurl, p7zip }:
stdenvNoCC.mkDerivation rec {
pname = "rounded-mgenplus";
version = "20150602";
src = fetchurl {
url = "https://osdn.jp/downloads/users/8/8598/${pname}-${version}.7z";
hash = "sha256-7OpnZJc9k5NiOPHAbtJGMQvsMg9j81DCvbfo0f7uJcw=";
};
sourceRoot = ".";
nativeBuildInputs = [ p7zip ];
installPhase = ''
runHook preInstall
install -m 444 -D -t $out/share/fonts/${pname} ${pname}-*.ttf
runHook postInstall
'';
meta = with lib; {
description = "Japanese font based on Rounded M+ and Noto Sans Japanese";
homepage = "http://jikasei.me/font/rounded-mgenplus/";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ mnacamura ];
};
}
|