about summary refs log tree commit diff
path: root/pkgs/data/fonts/junicode/default.nix
blob: 950a909235f310f0c1d4ffd7c5511c96bc934d9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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";
    maintainers = with lib.maintainers; [ ivan-timokhin ];
    license = lib.licenses.ofl;
  };
}