Skip to content

Commit d903a3e

Browse files
authored
koruri: init at 20210720 (#297950)
2 parents 1118ab8 + bf14282 commit d903a3e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

pkgs/by-name/ko/koruri/package.nix

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
stdenvNoCC,
5+
}:
6+
7+
stdenvNoCC.mkDerivation rec {
8+
pname = "koruri";
9+
version = "20210720";
10+
11+
src = fetchFromGitHub {
12+
owner = "Koruri";
13+
repo = "Koruri";
14+
rev = version;
15+
hash = "sha256-zL9UtT15mWvsXgGJqbTs6cOsQaoh/0AIAyQ5z7JpTXk=";
16+
};
17+
18+
installPhase = ''
19+
runHook preInstall
20+
install -Dm644 *.ttf -t $out/share/fonts/koruri
21+
runHook postInstall
22+
'';
23+
24+
meta = with lib; {
25+
description = "Japanese TrueType font obtained by mixing M+ FONTS and Open Sans";
26+
homepage = "https://github.com/Koruri/Koruri";
27+
license = licenses.asl20;
28+
maintainers = with maintainers; [ haruki7049 ];
29+
platforms = platforms.all;
30+
};
31+
}

0 commit comments

Comments
 (0)