nixpkgs/pkgs/data/fonts/rounded-mgenplus/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
764 B
Nix
Raw Normal View History

2023-01-25 15:45:31 +01:00
{ lib, stdenvNoCC, fetchurl, p7zip }:
2018-04-28 20:09:11 +02:00
2023-01-25 15:45:31 +01:00
stdenvNoCC.mkDerivation rec {
2018-04-28 20:09:11 +02:00
pname = "rounded-mgenplus";
version = "20150602";
2023-01-25 15:45:31 +01:00
src = fetchurl {
url = "https://osdn.jp/downloads/users/8/8598/${pname}-${version}.7z";
hash = "sha256-7OpnZJc9k5NiOPHAbtJGMQvsMg9j81DCvbfo0f7uJcw=";
};
sourceRoot = ".";
nativeBuildInputs = [ p7zip ];
installPhase = ''
runHook preInstall
2018-04-28 20:09:11 +02:00
install -m 444 -D -t $out/share/fonts/${pname} ${pname}-*.ttf
2023-01-25 15:45:31 +01:00
runHook postInstall
2018-04-28 20:09:11 +02:00
'';
meta = with lib; {
2018-04-28 20:09:11 +02:00
description = "A Japanese font based on Rounded M+ and Noto Sans Japanese";
homepage = "http://jikasei.me/font/rounded-mgenplus/";
2018-04-28 20:09:11 +02:00
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ mnacamura ];
2018-04-28 20:09:11 +02:00
};
}