about summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-13 14:38:59 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-13 14:38:59 +0100
commit9b4c9079b57c9979fa14c1b818f3dc39a91edf3d (patch)
tree4b2c6fae199bc3c42e8149d950da7768af91182b /pkgs/data
parent3452f773bbc5a143439cd5229655b4329235df08 (diff)
sarasa-gothic: 1.0.5 -> 1.0.6, refactor
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/fonts/sarasa-gothic/default.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/pkgs/data/fonts/sarasa-gothic/default.nix b/pkgs/data/fonts/sarasa-gothic/default.nix
deleted file mode 100644
index 35f098442c229..0000000000000
--- a/pkgs/data/fonts/sarasa-gothic/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ lib, stdenvNoCC, fetchurl, p7zip }:
-
-stdenvNoCC.mkDerivation rec {
-  pname = "sarasa-gothic";
-  version = "1.0.5";
-
-  src = fetchurl {
-    # Use the 'ttc' files here for a smaller closure size.
-    # (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.)
-    url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/Sarasa-TTC-${version}.7z";
-    hash = "sha256-OPoX6GNCilA8Lj9kLO6RHapU7mpZTiNa/8LL72TG1Wk=";
-  };
-
-  sourceRoot = ".";
-
-  nativeBuildInputs = [ p7zip ];
-
-  installPhase = ''
-    runHook preInstall
-
-    mkdir -p $out/share/fonts/truetype
-    cp *.ttc $out/share/fonts/truetype
-
-    runHook postInstall
-  '';
-
-  meta = with lib; {
-    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 ];
-    platforms = platforms.all;
-  };
-}