nixpkgs/pkgs/by-name/ko/koruri/package.nix
2024-11-15 11:05:42 +09:00

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;
};
}