1{ stdenv, fetchurl, unzip }:
2
3stdenv.mkDerivation {
4 name = "junicode-0.7.8";
5
6 src = fetchurl {
7 url = mirror://sourceforge/junicode/junicode/junicode-0-7-8/junicode-0-7-8.zip;
8 sha256 = "1lgkhj52s351ya7lp9z3xba7kaivgdvg80njhpj1rpc3jcmc69vl";
9 };
10
11 buildInputs = [ unzip ];
12
13 installPhase =
14 ''
15 mkdir -p $out/share/fonts/junicode-ttf
16 cp fonts/*.ttf $out/share/fonts/junicode-ttf
17 '';
18
19 meta = {
20 homepage = http://junicode.sourceforge.net/;
21 description = "A Unicode font";
22 };
23}