depot/third_party/nixpkgs/pkgs/data/fonts/junicode/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

30 lines
708 B
Nix

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "junicode";
version = "1.003";
src = fetchFromGitHub {
owner = "psb1558";
repo = "Junicode-font";
rev = "55d816d91a5e19795d9b66edec478379ee2b9ddb";
hash = "sha256-eTiMgI8prnpR4H6sqKRaB3Gcnt4C5QWZalRajWW49G4=";
};
installPhase = ''
runHook preInstall
local out_ttf=$out/share/fonts/junicode-ttf
mkdir -p $out_ttf
cp legacy/*.ttf $out_ttf
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;
};
}