nixpkgs/pkgs/data/fonts/junicode/default.nix

25 lines
613 B
Nix
Raw Normal View History

{ lib, fetchzip }:
let
pname = "junicode";
version = "1.002";
in fetchzip {
name = "${pname}-${version}";
url = "mirror://sourceforge/junicode/junicode/junicode-${version}/junicode-${version}.zip";
2017-08-10 20:43:49 +01:00
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/junicode-ttf
'';
2020-03-08 09:30:43 +00:00
sha256 = "1n170gw41lr0zr5958z5cgpg6i1aa7kj7iq9s6gdh1cqq7hhgd08";
meta = {
homepage = "http://junicode.sourceforge.net/";
description = "A Unicode font for medievalists";
maintainers = with lib.maintainers; [ ivan-timokhin ];
license = lib.licenses.ofl;
};
}