mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
24 lines
667 B
Nix
24 lines
667 B
Nix
{ lib, fetchzip, p7zip }:
|
|
|
|
let
|
|
pname = "rounded-mgenplus";
|
|
version = "20150602";
|
|
in fetchzip rec {
|
|
name = "${pname}-${version}";
|
|
|
|
url = "https://osdn.jp/downloads/users/8/8598/${name}.7z";
|
|
postFetch = ''
|
|
${p7zip}/bin/7z x $downloadedFile
|
|
install -m 444 -D -t $out/share/fonts/${pname} ${pname}-*.ttf
|
|
'';
|
|
sha256 = "0vwdknagdrl5dqwpb1x5lxkbfgvbx8dpg7cb6yamgz71831l05v1";
|
|
|
|
meta = with lib; {
|
|
description = "A Japanese font based on Rounded M+ and Noto Sans Japanese";
|
|
homepage = http://jikasei.me/font/rounded-mgenplus/;
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ mnacamura ];
|
|
};
|
|
}
|