mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #32561 from mikoim/pkg/myrica
myrica: init at 2.011.20160403
This commit is contained in:
commit
14ea28807d
31
pkgs/data/fonts/myrica/default.nix
Normal file
31
pkgs/data/fonts/myrica/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "myrica-${version}";
|
||||
version = "2.011.20160403";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomokuni";
|
||||
repo = "Myrica";
|
||||
rev = "b737107723bfddd917210f979ccc32ab3eb6dc20";
|
||||
sha256 = "0p95kanf1682d9idq4v9agxlvxh08vhvfid2sjyc63knndsrl7wk";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp $src/product/*.TTC $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "187rklcibbkai6m08173ca99qn8v7xpdfdv0izpymmavj85axm12";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://myrica.estable.jp/;
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ mikoim ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -13604,6 +13604,8 @@ with pkgs;
|
||||
|
||||
mustache-spec = callPackage ../data/documentation/mustache-spec { };
|
||||
|
||||
myrica = callPackage ../data/fonts/myrica { };
|
||||
|
||||
nafees = callPackage ../data/fonts/nafees { };
|
||||
|
||||
inherit (callPackages ../data/fonts/noto-fonts {})
|
||||
|
Loading…
Reference in New Issue
Block a user