From b17c2972b4270aafa192b658019e7b3b307ad969 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 20 Mar 2025 17:23:17 +0100 Subject: [PATCH] typstyle: 0.13.0 -> 0.13.1 Diff: https://github.com/Enter-tainer/typstyle/compare/refs/tags/v0.13.0...v0.13.1 Changelog: https://github.com/Enter-tainer/typstyle/blob/v0.13.1/CHANGELOG.md --- pkgs/by-name/ty/typstyle/package.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ty/typstyle/package.nix b/pkgs/by-name/ty/typstyle/package.nix index 4419a621f759..7714a10691f3 100644 --- a/pkgs/by-name/ty/typstyle/package.nix +++ b/pkgs/by-name/ty/typstyle/package.nix @@ -6,19 +6,19 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "typstyle"; - version = "0.13.0"; + version = "0.13.1"; src = fetchFromGitHub { owner = "Enter-tainer"; repo = "typstyle"; - tag = "v${version}"; - hash = "sha256-lrGqNc9SJ6TlTTqiwzVWrHndY/oxY8t3mOfGBMF7vac="; + tag = "v${finalAttrs.version}"; + hash = "sha256-dYhdrxyyndGhJID0WKwvW6KFQ3ubC917UG9rhDnrAfM="; }; useFetchCargoVendor = true; - cargoHash = "sha256-V79jKheEms0CBTzt9h7+9/+F+TXSTlp8NGXe5OeFCX4="; + cargoHash = "sha256-Eb+qN7hBECESlTElN0uQtOg4uyuaWQw3ikFb8po+ubQ="; # Disabling tests requiring network access checkFlags = [ @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgramArg = [ "--version" ]; + versionCheckProgramArg = "--version"; doInstallCheck = true; passthru = { @@ -36,11 +36,11 @@ rustPlatform.buildRustPackage rec { }; meta = { - changelog = "https://github.com/Enter-tainer/typstyle/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Enter-tainer/typstyle/blob/v${finalAttrs.version}/CHANGELOG.md"; description = "Format your typst source code"; homepage = "https://github.com/Enter-tainer/typstyle"; license = lib.licenses.asl20; mainProgram = "typstyle"; maintainers = with lib.maintainers; [ drupol ]; }; -} +})