2021-12-06 16:07:01 +00:00
|
|
|
{ lib, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "junicode";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.003";
|
|
|
|
in
|
|
|
|
fetchFromGitHub {
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
owner = "psb1558";
|
|
|
|
repo = "Junicode-font";
|
|
|
|
rev = "55d816d91a5e19795d9b66edec478379ee2b9ddb";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
2021-12-06 16:07:01 +00:00
|
|
|
local out_ttf=$out/share/fonts/junicode-ttf
|
|
|
|
mkdir -p $out_ttf
|
|
|
|
tar -f $downloadedFile -C $out_ttf --wildcards -x '*.ttf' --strip=2
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "1v334gljmidh58kmrarz5pf348b0ac7vh25f1xs3gyvn78khh5nw";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://github.com/psb1558/Junicode-font";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Unicode font for medievalists";
|
|
|
|
maintainers = with lib.maintainers; [ ivan-timokhin ];
|
|
|
|
license = lib.licenses.ofl;
|
|
|
|
};
|
|
|
|
}
|