diff options
Diffstat (limited to 'pkgs/data/fonts/sarasa-gothic/default.nix')
-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; - }; -} |