3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #127262 from samuelgrf/times-newer-roman-init-at-2018-09-11

This commit is contained in:
Sandro 2021-06-18 19:59:51 +02:00 committed by GitHub
commit d370fb96c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, fetchzip }:
let
version = "unstable-2018-09-11";
in
fetchzip {
name = "times-newer-roman-${version}";
url = "https://web.archive.org/web/20210609022835/https://timesnewerroman.com/assets/TimesNewerRoman.zip";
postFetch = ''
mkdir -p $out/share/fonts/opentype
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
'';
hash = "sha256-Hx59RYLLwfimEQjEEes0lCpg6iql46DFwhQ7kVGiEzc=";
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; [ samuelgrf ];
platforms = platforms.all;
};
}

View file

@ -22512,6 +22512,8 @@ in
theme-vertex = callPackage ../data/themes/vertex { };
times-newer-roman = callPackage ../data/fonts/times-newer-roman { };
tipa = callPackage ../data/fonts/tipa { };
ttf_bitstream_vera = callPackage ../data/fonts/ttf-bitstream-vera { };