Loading pkgs/by-name/sh/shaperglot-cli/package.nix +10 −15 Original line number Diff line number Diff line Loading @@ -2,19 +2,18 @@ lib, fetchFromGitHub, rustPlatform, _experimental-update-script-combinators, unstableGitUpdater, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "shaperglot-cli"; version = "0-unstable-2025-08-11"; version = "1.1.0"; src = fetchFromGitHub { owner = "googlefonts"; repo = "shaperglot"; rev = "b7ba56e583e89a1c169f4ef7c3419e4e76e00974"; tag = "v${finalAttrs.version}"; hash = "sha256-XFzsUzHa4KsyDWlOKlWHBNimn1hzdrtCPe+lFrs0EDc="; }; Loading @@ -29,6 +28,10 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; installCheckPhase = '' runHook preInstallCheck Loading @@ -39,22 +42,14 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; passthru = { updateScript = _experimental-update-script-combinators.sequence [ (unstableGitUpdater { branch = "main"; # Git tag differs from CLI version: https://github.com/googlefonts/shaperglot/issues/138 hardcodeZeroVersion = true; }) (nix-update-script { # Updating `cargoHash` extraArgs = [ "--version=skip" ]; }) ]; updateScript = nix-update-script { }; }; meta = { description = "Test font files for language support"; homepage = "https://github.com/googlefonts/shaperglot"; # The CHANGELOG.md file exists in this repository but is not actually used. changelog = "https://github.com/googlefonts/shaperglot/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ kachick Loading Loading
pkgs/by-name/sh/shaperglot-cli/package.nix +10 −15 Original line number Diff line number Diff line Loading @@ -2,19 +2,18 @@ lib, fetchFromGitHub, rustPlatform, _experimental-update-script-combinators, unstableGitUpdater, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "shaperglot-cli"; version = "0-unstable-2025-08-11"; version = "1.1.0"; src = fetchFromGitHub { owner = "googlefonts"; repo = "shaperglot"; rev = "b7ba56e583e89a1c169f4ef7c3419e4e76e00974"; tag = "v${finalAttrs.version}"; hash = "sha256-XFzsUzHa4KsyDWlOKlWHBNimn1hzdrtCPe+lFrs0EDc="; }; Loading @@ -29,6 +28,10 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; installCheckPhase = '' runHook preInstallCheck Loading @@ -39,22 +42,14 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; passthru = { updateScript = _experimental-update-script-combinators.sequence [ (unstableGitUpdater { branch = "main"; # Git tag differs from CLI version: https://github.com/googlefonts/shaperglot/issues/138 hardcodeZeroVersion = true; }) (nix-update-script { # Updating `cargoHash` extraArgs = [ "--version=skip" ]; }) ]; updateScript = nix-update-script { }; }; meta = { description = "Test font files for language support"; homepage = "https://github.com/googlefonts/shaperglot"; # The CHANGELOG.md file exists in this repository but is not actually used. changelog = "https://github.com/googlefonts/shaperglot/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ kachick Loading