mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
32 lines
685 B
Nix
32 lines
685 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
stdenvNoCC,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "koruri";
|
|
version = "20210720";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Koruri";
|
|
repo = "Koruri";
|
|
rev = version;
|
|
hash = "sha256-zL9UtT15mWvsXgGJqbTs6cOsQaoh/0AIAyQ5z7JpTXk=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -Dm644 *.ttf -t $out/share/fonts/koruri
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Japanese TrueType font obtained by mixing M+ FONTS and Open Sans";
|
|
homepage = "https://github.com/Koruri/Koruri";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ haruki7049 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|