nixpkgs/pkgs/data/fonts/times-newer-roman/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
787 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2021-06-17 12:38:19 +00:00
stdenvNoCC.mkDerivation {
pname = "times-newer-roman";
2021-06-17 12:38:19 +00:00
version = "unstable-2018-09-11";
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-17 12:38:19 +00:00
mkdir -p $out/share/fonts/opentype
cp *.otf $out/share/fonts/opentype
runHook postInstall
'';
2021-06-17 12:38:19 +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;
maintainers = with maintainers; [ ];
2021-06-17 12:38:19 +00:00
platforms = platforms.all;
};
}