mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Added package for kochi-substitute font.
This commit is contained in:
parent
da55068a8d
commit
cf21858bdf
1 changed files with 25 additions and 0 deletions
25
pkgs/data/fonts/kochi-substitute/default.nix
Normal file
25
pkgs/data/fonts/kochi-substitute/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "20030809";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "kochi-substitute-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://jaist.dl.sourceforge.jp/efont/5411/kochi-substitute-${version}.tar.bz2";
|
||||
sha256 = "f4d69b24538833bf7e2c4de5e01713b3f1440960a6cc2a5993cb3c68cd23148c";
|
||||
};
|
||||
|
||||
sourceRoot = "kochi-substitute-${version}";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/share/fonts/kochi-substitute
|
||||
cp *.ttf $out/share/fonts/kochi-substitute
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Japanese font, a free replacement for MS Gothic and MS Mincho.";
|
||||
homepage = http://sourceforge.jp/projects/efont/;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue