nixpkgs-suyu/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 21:43:49 +02:00
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/junicode-ttf
'';
2020-03-08 10:30:43 +01: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;
};
}