summary refs log tree commit diff
path: root/pkgs/data/fonts/gentium/default.nix
diff options
context:
space:
mode:
authorCarsten Burstedde <burstedde@ins.uni-bonn.de>2021-07-05 19:30:59 +0200
committerCarsten Burstedde <burstedde@ins.uni-bonn.de>2021-07-05 19:30:59 +0200
commit705afbd338e26b486aaacc237ee4fffbf9759b21 (patch)
tree5c69ce5ff8d77f023b12dcbea6b6d3a4d68e982b /pkgs/data/fonts/gentium/default.nix
parentc99a5b9a60ae5c5204a3f41f5d65b642093d1b82 (diff)
parent94982e6f874ec52eaf3fed29c8d229cdc1f8bc2c (diff)
downloadnixpkgs-705afbd338e26b486aaacc237ee4fffbf9759b21.tar
nixpkgs-705afbd338e26b486aaacc237ee4fffbf9759b21.tar.gz
nixpkgs-705afbd338e26b486aaacc237ee4fffbf9759b21.tar.bz2
nixpkgs-705afbd338e26b486aaacc237ee4fffbf9759b21.tar.lz
nixpkgs-705afbd338e26b486aaacc237ee4fffbf9759b21.tar.xz
nixpkgs-705afbd338e26b486aaacc237ee4fffbf9759b21.tar.zst
nixpkgs-705afbd338e26b486aaacc237ee4fffbf9759b21.zip
Merge branch 'master' into package-petsc-p4est
Diffstat (limited to 'pkgs/data/fonts/gentium/default.nix')
-rw-r--r--pkgs/data/fonts/gentium/default.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/data/fonts/gentium/default.nix b/pkgs/data/fonts/gentium/default.nix
index 3622e1c3b3c..9d0daf7182d 100644
--- a/pkgs/data/fonts/gentium/default.nix
+++ b/pkgs/data/fonts/gentium/default.nix
@@ -1,7 +1,7 @@
 { lib, fetchzip }:
 
 let
-  version = "5.000";
+  version = "6.000";
 in fetchzip rec {
   name = "gentium-${version}";
 
@@ -10,12 +10,20 @@ in fetchzip rec {
   postFetch = ''
     mkdir -p $out/share/{doc,fonts}
     unzip -l $downloadedFile
-    unzip -j $downloadedFile \*.ttf                                          -d $out/share/fonts/truetype
-    unzip -j $downloadedFile \*/FONTLOG.txt \*/GENTIUM-FAQ.txt \*/README.txt -d $out/share/doc/${name}
-    unzip -j $downloadedFile \*/documentation/\*                             -d $out/share/doc/${name}/documentation
+    unzip -j $downloadedFile \*.ttf \
+      -d $out/share/fonts/truetype
+    unzip -j $downloadedFile \
+      \*/FONTLOG.txt \
+      \*/README.txt \
+      -d $out/share/doc/${name}
+    unzip -j $downloadedFile \
+      \*/documentation/\*.html \
+      \*/documentation/\*.txt \
+      -x \*/documentation/source/\* \
+      -d $out/share/doc/${name}/documentation
   '';
 
-  sha256 = "1qr2wjdmm93167b0w9cidlf3wwsyjx4838ja9jmm4jkyian5whhp";
+  sha256 = "zhSpAYK3Lfzsx6Z1IA6aRFNNXdDGq/jWxsQ20c2HcxI=";
 
   meta = with lib; {
     homepage = "https://software.sil.org/gentium/";