2023-01-30 09:25:57 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2008-03-02 21:59:32 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
2020-04-04 16:16:34 +00:00
|
|
|
pname = "junicode";
|
2021-12-04 11:07:26 +00:00
|
|
|
version = "1.003";
|
2010-07-29 18:55:16 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psb1558";
|
|
|
|
repo = "Junicode-font";
|
|
|
|
rev = "55d816d91a5e19795d9b66edec478379ee2b9ddb";
|
|
|
|
hash = "sha256-eTiMgI8prnpR4H6sqKRaB3Gcnt4C5QWZalRajWW49G4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2008-03-02 21:59:32 +00:00
|
|
|
|
2021-12-04 11:07:26 +00:00
|
|
|
local out_ttf=$out/share/fonts/junicode-ttf
|
|
|
|
mkdir -p $out_ttf
|
2023-01-30 09:25:57 +00:00
|
|
|
cp legacy/*.ttf $out_ttf
|
2008-03-02 21:59:32 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2010-07-29 18:55:16 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-12-04 11:07:26 +00:00
|
|
|
homepage = "https://github.com/psb1558/Junicode-font";
|
2017-08-03 05:08:02 +00:00
|
|
|
description = "A Unicode font for medievalists";
|
2020-04-04 16:07:18 +00:00
|
|
|
maintainers = with lib.maintainers; [ ivan-timokhin ];
|
2020-03-08 09:36:34 +00:00
|
|
|
license = lib.licenses.ofl;
|
2010-07-29 18:55:16 +00:00
|
|
|
};
|
|
|
|
}
|