nixpkgs/pkgs/data/fonts/junicode/default.nix
Ivan Timokhin 49c7d93c55 junicode: 2.100 -> 2.200
Release announcement:
https://github.com/psb1558/Junicode-font/releases/tag/v2.200

From it:

Junicode 2.200 features miscellaneous fixes and additions, and it also
inaugurates a long-term program of adding glyphs for the benefit of
the Ansund HTR (Handwritten Text Recognition) project, which is
developing tools for the automated reading of medieval manuscripts. Of
the additions made so far, the ones likely to be of greatest interest
to users are two series of medieval capitals, available via features
ss11[1] and ss11[2]. The first series consists of rustic capitals,
often used for text in late ancient and early medieval times and for
rubrics (headings) in the central Middle Ages. The second consists of
Lombardic capitals, used in the central and later Middle Ages for what
are now called drop caps. These capitals are designed to harmonize
with Junicode to the greatest degree possible while remaining faithful
to the medieval sources.
2023-10-26 22:52:27 +03:00

33 lines
890 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "junicode";
version = "2.200";
src = fetchzip {
url = "https://github.com/psb1558/Junicode-font/releases/download/v${version}/Junicode_${version}.zip";
hash = "sha256-2K+zPq6Bjg+hZQhQrWWm1bxHVfwwRdsV7EseRGBnpUw=";
};
outputs = [ "out" "doc" ];
installPhase = ''
runHook preInstall
install -Dm 444 -t $out/share/fonts/truetype TTF/*.ttf VAR/*.ttf
install -Dm 444 -t $out/share/fonts/opentype OTF/*.otf
install -Dm 444 -t $out/share/fonts/woff2 WOFF2/*.woff2
install -Dm 444 -t $doc/share/doc/${pname}-${version} docs/*.pdf
runHook postInstall
'';
meta = {
homepage = "https://github.com/psb1558/Junicode-font";
description = "A Unicode font for medievalists";
maintainers = with lib.maintainers; [ ivan-timokhin ];
license = lib.licenses.ofl;
};
}