1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/data/fonts/myrica/default.nix

25 lines
647 B
Nix
Raw Normal View History

2017-12-17 13:17:45 +00:00
{ lib, fetchFromGitHub }:
2017-12-11 09:40:32 +00:00
2019-08-13 22:52:01 +01:00
fetchFromGitHub {
2017-12-17 13:17:45 +00:00
name = "myrica-2.011.20160403";
2017-12-11 09:40:32 +00:00
2017-12-17 13:17:45 +00:00
owner = "tomokuni";
repo = "Myrica";
# commit does not exist on any branch on the target repository
2017-12-17 13:17:45 +00:00
rev = "b737107723bfddd917210f979ccc32ab3eb6dc20";
sha256 = "187rklcibbkai6m08173ca99qn8v7xpdfdv0izpymmavj85axm12";
2017-12-11 09:40:32 +00:00
2017-12-17 13:17:45 +00:00
postFetch = ''
tar --strip-components=1 -xzvf $downloadedFile
2017-12-11 09:40:32 +00:00
mkdir -p $out/share/fonts/truetype
2017-12-17 13:17:45 +00:00
cp product/*.TTC $out/share/fonts/truetype
2017-12-11 09:40:32 +00:00
'';
2017-12-17 13:17:45 +00:00
meta = with lib; {
homepage = "https://myrica.estable.jp/";
2017-12-11 09:40:32 +00:00
license = licenses.ofl;
maintainers = with maintainers; [ mikoim ];
platforms = platforms.all;
};
}