Loading pkgs/data/fonts/sarasa-gothic/default.nix→pkgs/by-name/sa/sarasa-gothic/package.nix +20 −12 Original line number Diff line number Diff line { lib, stdenvNoCC, fetchurl, p7zip }: stdenvNoCC.mkDerivation rec { { lib, stdenvNoCC, fetchurl, unzip, }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "sarasa-gothic"; version = "1.0.5"; version = "1.0.6"; 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="; url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${finalAttrs.version}b/Sarasa-TTC-${finalAttrs.version}.zip"; hash = "sha256-MkbmEn4vV2WEDC8pW+WewPuVhlLPi2iGmhvJW6Szksw="; }; sourceRoot = "."; nativeBuildInputs = [ p7zip ]; nativeBuildInputs = [ unzip ]; installPhase = '' runHook preInstall Loading @@ -24,11 +29,14 @@ stdenvNoCC.mkDerivation rec { runHook postInstall ''; meta = with lib; { meta = { 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; license = lib.licenses.ofl; maintainers = with lib.maintainers; [ ChengCat wegank ]; platforms = lib.platforms.all; }; } }) pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -29515,8 +29515,6 @@ with pkgs; sarabun-font = callPackage ../data/fonts/sarabun { }; sarasa-gothic = callPackage ../data/fonts/sarasa-gothic { }; savepagenow = callPackage ../tools/misc/savepagenow { }; scheme-manpages = callPackage ../data/documentation/scheme-manpages { }; Loading
pkgs/data/fonts/sarasa-gothic/default.nix→pkgs/by-name/sa/sarasa-gothic/package.nix +20 −12 Original line number Diff line number Diff line { lib, stdenvNoCC, fetchurl, p7zip }: stdenvNoCC.mkDerivation rec { { lib, stdenvNoCC, fetchurl, unzip, }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "sarasa-gothic"; version = "1.0.5"; version = "1.0.6"; 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="; url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${finalAttrs.version}b/Sarasa-TTC-${finalAttrs.version}.zip"; hash = "sha256-MkbmEn4vV2WEDC8pW+WewPuVhlLPi2iGmhvJW6Szksw="; }; sourceRoot = "."; nativeBuildInputs = [ p7zip ]; nativeBuildInputs = [ unzip ]; installPhase = '' runHook preInstall Loading @@ -24,11 +29,14 @@ stdenvNoCC.mkDerivation rec { runHook postInstall ''; meta = with lib; { meta = { 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; license = lib.licenses.ofl; maintainers = with lib.maintainers; [ ChengCat wegank ]; platforms = lib.platforms.all; }; } })
pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -29515,8 +29515,6 @@ with pkgs; sarabun-font = callPackage ../data/fonts/sarabun { }; sarasa-gothic = callPackage ../data/fonts/sarasa-gothic { }; savepagenow = callPackage ../tools/misc/savepagenow { }; scheme-manpages = callPackage ../data/documentation/scheme-manpages { };