about summary refs log tree commit diff
path: root/pkgs/data/fonts
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-10-31 23:22:46 +0100
committerGitHub <noreply@github.com>2021-10-31 23:22:46 +0100
commit32dabf5bd58ad9f32883a28c0644cc3326c304b2 (patch)
tree088729069b9f82ee06af37a23543c189ad300350 /pkgs/data/fonts
parent487dd864e5603bdd3758139177ea6f7937212e10 (diff)
parent21acfcd96353f793d069abd8a3b757d3fa015bfe (diff)
Merge pull request #143825 from marsam/update-sarasa-gothic
Diffstat (limited to 'pkgs/data/fonts')
-rw-r--r--pkgs/data/fonts/sarasa-gothic/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/data/fonts/sarasa-gothic/default.nix b/pkgs/data/fonts/sarasa-gothic/default.nix
index 5bc691e72440f..00030ad574239 100644
--- a/pkgs/data/fonts/sarasa-gothic/default.nix
+++ b/pkgs/data/fonts/sarasa-gothic/default.nix
@@ -1,26 +1,27 @@
 { lib, fetchurl, libarchive }:
 
 let
-  version = "0.32.9";
+  version = "0.34.7";
 in fetchurl {
   name = "sarasa-gothic-${version}";
 
-  url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z";
-  sha256 = "0mwaj9dq26f36ddywjm7m0is1jml2kpmqm46b16c8avvr97c65z5";
+  url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttf-${version}.7z";
+  sha256 = "094sl6gklrdv9pk4r6451dvz0fjyjmwys7i81qrz4ik1km5dfq9b";
 
   recursiveHash = true;
   downloadToTemp = true;
 
   postFetch = ''
-    mkdir -p $out/share/fonts
-    ${libarchive}/bin/bsdtar -xf $downloadedFile -C $out/share/fonts
+    mkdir -p $out/share/fonts/truetype
+    ${libarchive}/bin/bsdtar -xf $downloadedFile -C $out/share/fonts/truetype
   '';
 
   meta = with lib; {
-    description = "SARASA GOTHIC is a Chinese & Japanese programming font based on Iosevka and Source Han Sans";
+    description = "A CJK programming font based on Iosevka and Source Han Sans";
     homepage = "https://github.com/be5invis/Sarasa-Gothic";
     license = licenses.ofl;
     maintainers = [ maintainers.ChengCat ];
+    hydraPlatforms = [ ]; # disabled from hydra because it's so big
     platforms = platforms.all;
   };
 }