depot/third_party/nixpkgs/pkgs/data/fonts/junicode/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
613 B
Nix

{ 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;
};
}