1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00
nixpkgs/pkgs/data/fonts/junicode/default.nix
Ivan Timokhin df082cc0b4 junicode: change license to OFL
Both the project page ([1], third paragraph) and the
documentation ([2], second-to-last paragraph on the last page)
indicate that the font is available under SIL OFL.

[1]: http://junicode.sourceforge.net/
[2]: http://junicode.sourceforge.net/Junicode.pdf
2020-03-08 12:36:34 +03:00

21 lines
485 B
Nix

{ 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";
license = lib.licenses.ofl;
};
}