2023-02-09 11:40:11 +00:00
|
|
|
|
{ lib, fetchFromGitHub, stdenvNoCC }:
|
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-02-09 11:40:11 +00:00
|
|
|
|
pname = "goudy-bookletter-1911";
|
|
|
|
|
version = "2011-05-11";
|
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "theleagueof";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
repo = finalAttrs.pname;
|
2023-02-09 11:40:11 +00:00
|
|
|
|
rev = "85ff5b834b4f63feb36fd2053949c19660580e48";
|
|
|
|
|
hash = "sha256-11axs1+SRQj+1lYTq2LYf1I65WrrvB/UnAgZkHPP1N8=";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
|
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
|
description = "Public domain font based on Frederic Goudy’s Kennerley Oldstyle";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
homepage = "https://www.theleagueofmoveabletype.com/goudy-bookletter-1911";
|
|
|
|
|
license = lib.licenses.ofl;
|
|
|
|
|
maintainers = with lib.maintainers; [ minijackson ];
|
|
|
|
|
};
|
|
|
|
|
})
|