2021-12-04 11:07:26 +00:00
|
|
|
{ lib, fetchFromGitHub }:
|
2008-03-02 21:59:32 +00:00
|
|
|
|
2020-04-04 17:16:34 +01:00
|
|
|
let
|
|
|
|
pname = "junicode";
|
2021-12-04 11:07:26 +00:00
|
|
|
version = "1.003";
|
|
|
|
in
|
|
|
|
fetchFromGitHub {
|
2020-04-04 17:16:34 +01:00
|
|
|
name = "${pname}-${version}";
|
2010-07-29 19:55:16 +01:00
|
|
|
|
2021-12-04 11:07:26 +00:00
|
|
|
owner = "psb1558";
|
|
|
|
repo = "Junicode-font";
|
|
|
|
rev = "55d816d91a5e19795d9b66edec478379ee2b9ddb";
|
2008-03-02 21:59:32 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
2021-12-04 11:07:26 +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
|
2017-08-10 20:43:49 +01:00
|
|
|
'';
|
2008-03-02 21:59:32 +00:00
|
|
|
|
2021-12-04 11:07:26 +00:00
|
|
|
sha256 = "1v334gljmidh58kmrarz5pf348b0ac7vh25f1xs3gyvn78khh5nw";
|
2010-07-29 19:55:16 +01:00
|
|
|
|
|
|
|
meta = {
|
2021-12-04 11:07:26 +00:00
|
|
|
homepage = "https://github.com/psb1558/Junicode-font";
|
2017-08-03 06:08:02 +01:00
|
|
|
description = "A Unicode font for medievalists";
|
2020-04-04 17:07:18 +01:00
|
|
|
maintainers = with lib.maintainers; [ ivan-timokhin ];
|
2020-03-08 09:36:34 +00:00
|
|
|
license = lib.licenses.ofl;
|
2010-07-29 19:55:16 +01:00
|
|
|
};
|
|
|
|
}
|