about summary refs log tree commit diff
path: root/pkgs/data/fonts/junicode/default.nix
blob: f66515cce79a679661e19b095f983d146254eb45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, fetchzip }:

fetchzip {
  name = "junicode-1.002";

  url = mirror://sourceforge/junicode/junicode/junicode-1.002/junicode-1.002.zip;

  postFetch = ''
    mkdir -p $out/share/fonts
    unzip -j $downloadedFile \*.ttf -d $out/share/fonts/junicode-ttf
  '';

  sha256 = "1n170gw41lr0zr5958z5cgpg6i1aa7kj7iq9s6gdh1cqq7hhgd08";

  meta = {
    homepage = http://junicode.sourceforge.net/;
    description = "A Unicode font for medievalists";
    license = lib.licenses.ofl;
  };
}