2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "times-newer-roman";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "unstable-2018-09-11";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://web.archive.org/web/20210609022835/https://timesnewerroman.com/assets/TimesNewerRoman.zip";
|
|
|
|
stripRoot = false;
|
|
|
|
hash = "sha256-wO4rxyJNQyhRLpswCYKXdeiXy5G+iWyxulYCHZb60QM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
cp *.otf $out/share/fonts/opentype
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A font that looks just like Times New Roman, except each character is 5-10% wider";
|
|
|
|
homepage = "https://timesnewerroman.com/";
|
|
|
|
license = licenses.gpl2Plus;
|
2022-04-27 09:35:20 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-06-28 23:13:55 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
}
|