summary refs log tree commit diff
path: root/pkgs/data/fonts/junicode/default.nix
blob: 1e1341932f5604c148b172b72f87d68462cf8e58 (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
{ lib, fetchzip }:

let
  pname = "junicode";
  version = "1.002";
in fetchzip {
  name = "${pname}-${version}";

  url = "mirror://sourceforge/junicode/junicode/junicode-${version}/junicode-${version}.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;
  };
}