Commit bf142822 authored by haruki7049's avatar haruki7049
Browse files

koruri: init at 20210720

parent 834cc4fa
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  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;
  };
}