depot/third_party/nixpkgs/pkgs/data/fonts/myrica/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
582 B
Nix

{ lib, fetchFromGitHub }:
fetchFromGitHub {
name = "myrica-2.011.20160403";
owner = "tomokuni";
repo = "Myrica";
rev = "b737107723bfddd917210f979ccc32ab3eb6dc20";
sha256 = "187rklcibbkai6m08173ca99qn8v7xpdfdv0izpymmavj85axm12";
postFetch = ''
tar --strip-components=1 -xzvf $downloadedFile
mkdir -p $out/share/fonts/truetype
cp product/*.TTC $out/share/fonts/truetype
'';
meta = with lib; {
homepage = "https://myrica.estable.jp/";
license = licenses.ofl;
maintainers = with maintainers; [ mikoim ];
platforms = platforms.all;
};
}