mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
8ed7ffbd79
Release announcement: https://github.com/psb1558/Junicode-font/releases/tag/v2.002 From it: Version 2.002 adds U+0243 B with stroke (with small cap and petite cap variants) and variants of U+014A Eng (with small cap and petite cap variants). It also adds many anchors and refines and corrects many outlines (especially in roman).
33 lines
862 B
Nix
33 lines
862 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "junicode";
|
|
version = "2.002";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/psb1558/Junicode-font/releases/download/v${version}/Junicode_${version}.zip";
|
|
hash = "sha256-AHy4uT0LEof69+ECoFlKmALPTTPbvRNjmFD240koWAE=";
|
|
};
|
|
|
|
outputs = [ "out" "doc" ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dt $out/share/fonts/truetype TTF/*.ttf VAR/*.ttf
|
|
install -Dt $out/share/fonts/opentype OTF/*.otf
|
|
install -Dt $out/share/fonts/woff2 WOFF2/*.woff2
|
|
|
|
install -Dt $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;
|
|
};
|
|
}
|