diff options
author | h7x4 <h7x4@nani.wtf> | 2023-10-06 19:36:55 +0200 |
---|---|---|
committer | h7x4 <h7x4@nani.wtf> | 2024-02-11 21:48:45 +0100 |
commit | e94f42a0f355b4f9225edb57d756902c5cfb50be (patch) | |
tree | e4ad794f1f75d0d8f6620aa94c3726acea23ce44 /pkgs/by-name/ya | |
parent | f8cec6e01d88e46aba0fb5f13e01f1b2edc033bf (diff) |
yasashisa-gothic: init at 0-unstable-2014-03-13
Diffstat (limited to 'pkgs/by-name/ya')
-rw-r--r-- | pkgs/by-name/ya/yasashisa-gothic/package.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/by-name/ya/yasashisa-gothic/package.nix b/pkgs/by-name/ya/yasashisa-gothic/package.nix new file mode 100644 index 0000000000000..20a629707f8dd --- /dev/null +++ b/pkgs/by-name/ya/yasashisa-gothic/package.nix @@ -0,0 +1,40 @@ +{ lib +, stdenvNoCC +, fetchurl +, unzrip +}: + +stdenvNoCC.mkDerivation { + pname = "yasashisa-gothic"; + version = "0-unstable-2014-03-13"; + + src = fetchurl { + url = "http://flop.sakura.ne.jp/font/fontna-op/07Yasashisa.zip"; + hash = "sha256-JmsRvUak9FBjDw8wNA2R3lEt52/UpElleziQqa5Pm4w="; + }; + + unpackPhase = '' + runHook preUnpack + + ${lib.getExe unzrip} -O SHIFT_JIS "$src" + + runHook postUnpack + ''; + + installPhase = '' + runHook preInstall + + install -Dm444 "07Yasashisa/07やさしさゴシック.ttf" -t "$out/share/fonts/truetype" + install -Dm444 "07Yasashisa/その他-サポート外/OpenType/YasashisaGothic.otf" -t "$out/share/fonts/opentype" + + runHook postInstall + ''; + + meta = with lib; { + description = "Free gothic style font by Fontna"; + homepage = "http://www.fontna.com/blog/379/"; + license = with licenses; [ ipa mplus ]; + platforms = platforms.all; + maintainers = with maintainers; [ h7x4 ]; + }; +} |