diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-03-16 22:37:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 22:37:16 +0100 |
commit | dcd9828e7b43cd6e103951b5fefa6215562a0a67 (patch) | |
tree | a8450097ba048f04d40124c61b62e727bb0f18e0 /pkgs/data | |
parent | da2357acf98d9c875180f5a9d2616799f14311c6 (diff) | |
parent | 9b4c9079b57c9979fa14c1b818f3dc39a91edf3d (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.nix | 34 |
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; - }; -} |