about summary refs log tree commit diff
path: root/pkgs/data/fonts/times-newer-roman
diff options
context:
space:
mode:
authorSamuel Gräfenstein <git@samuelgrf.com>2021-06-17 14:38:19 +0200
committerSamuel Gräfenstein <git@samuelgrf.com>2021-06-18 14:46:19 +0200
commitc0e4d8744a994ebd8182159e7a9a8308e7cb1196 (patch)
tree412f0618940b3d314549ee70e0ec49185e89a024 /pkgs/data/fonts/times-newer-roman
parent0b37436b8d608ef3cac5e989290a771063b2d403 (diff)
times-newer-roman: init at 2018-09-11
Diffstat (limited to 'pkgs/data/fonts/times-newer-roman')
-rw-r--r--pkgs/data/fonts/times-newer-roman/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/data/fonts/times-newer-roman/default.nix b/pkgs/data/fonts/times-newer-roman/default.nix
new file mode 100644
index 0000000000000..6122883c61560
--- /dev/null
+++ b/pkgs/data/fonts/times-newer-roman/default.nix
@@ -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;
+  };
+}