summary refs log tree commit diff
path: root/pkgs/data/fonts/junicode/default.nix
blob: 1690f82aa37d0d8e8aa40d1456d11428374d7537 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, unzip }:

stdenv.mkDerivation {
  name = "junicode-0.6.15";

  src = fetchurl {
    url = http://prdownloads.sourceforge.net/junicode/junicode-0.6.15.zip;
    sha256 = "0p16r5s6qwyz0hayb6k61s5r2sfachlx7r6gpqqx5myx6ipbfdns";
  };

  buildInputs = [ unzip ];

  sourceRoot = ".";

  installPhase =
    ''
      mkdir -p $out/share/fonts/junicode-ttf
      cp *.ttf $out/share/fonts/junicode-ttf
    '';

  meta = {
    description = "A Unicode font";
  };
}