junicode: 1.002 -> 1.003

Development of the font has moved from Sourceforge to GitHub, mostly
in preparation for the 2.0 version, but the 1.003 release is also
tagged there, hence the homepage change.

Release notes are here:
https://github.com/psb1558/Junicode-font/releases/tag/v1.003
and they are profoundly uninformative.
main
Ivan Timokhin 3 years ago
parent 1083fd1d97
commit 7dcc14f57b
  1. 20
      pkgs/data/fonts/junicode/default.nix

@ -1,22 +1,26 @@
{ lib, fetchzip }:
{ lib, fetchFromGitHub }:
let
pname = "junicode";
version = "1.002";
in fetchzip {
version = "1.003";
in
fetchFromGitHub {
name = "${pname}-${version}";
url = "mirror://sourceforge/junicode/junicode/junicode-${version}/junicode-${version}.zip";
owner = "psb1558";
repo = "Junicode-font";
rev = "55d816d91a5e19795d9b66edec478379ee2b9ddb";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/junicode-ttf
local out_ttf=$out/share/fonts/junicode-ttf
mkdir -p $out_ttf
tar -f $downloadedFile -C $out_ttf --wildcards -x '*.ttf' --strip=2
'';
sha256 = "1n170gw41lr0zr5958z5cgpg6i1aa7kj7iq9s6gdh1cqq7hhgd08";
sha256 = "1v334gljmidh58kmrarz5pf348b0ac7vh25f1xs3gyvn78khh5nw";
meta = {
homepage = "http://junicode.sourceforge.net/";
homepage = "https://github.com/psb1558/Junicode-font";
description = "A Unicode font for medievalists";
maintainers = with lib.maintainers; [ ivan-timokhin ];
license = lib.licenses.ofl;

Loading…
Cancel
Save