mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
24 lines
582 B
Nix
24 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;
|
|
};
|
|
}
|