summaryrefslogtreecommitdiffstats
path: root/pkgs/data
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-16 22:37:16 +0100
committerGitHub <noreply@github.com>2024-03-16 22:37:16 +0100
commitdcd9828e7b43cd6e103951b5fefa6215562a0a67 (patch)
treea8450097ba048f04d40124c61b62e727bb0f18e0 /pkgs/data
parentda2357acf98d9c875180f5a9d2616799f14311c6 (diff)
parent9b4c9079b57c9979fa14c1b818f3dc39a91edf3d (diff)
Merge pull request #295613 from wegank/sarasa-gothic-bump
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 35f098442c22..000000000000
--- 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;
- };
-}