From fb8babf2a3dd17cdeabddc3ff5ffe49ef94481a9 Mon Sep 17 00:00:00 2001 From: nartsisss Date: Tue, 16 Jun 2026 19:38:44 +0300 Subject: [PATCH] prmt: 0.2.6 -> 0.6.0 --- pkgs/by-name/pr/prmt/package.nix | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/pr/prmt/package.nix b/pkgs/by-name/pr/prmt/package.nix index df934de2e08b..e239a4d931e9 100644 --- a/pkgs/by-name/pr/prmt/package.nix +++ b/pkgs/by-name/pr/prmt/package.nix @@ -7,34 +7,38 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "prmt"; - version = "0.2.6"; + version = "0.6.0"; + __structuredAttrs = true; src = fetchFromGitHub { repo = "prmt"; owner = "3axap4eHko"; tag = "v${finalAttrs.version}"; - hash = "sha256-/B+Z+m9xpCK04f3/p2URzM0J66OGDX6mB/Zcede+XSo="; + hash = "sha256-pLxWArZzGU1vjS2DOJ6PyrhYC2XbkAD5SfiFjHTaQfI="; }; - cargoHash = "sha256-Oui5po+She93GmcTNjHMt3syYULBVchcndOuDYgWwME="; + cargoHash = "sha256-hmtKmnSnSGgivY+dmC4WlMuCJGTVM6GI5k0pZcfzYso="; # Fail to run in sandbox environment checkFlags = map (t: "--skip=${t}") [ - "modules::path::tests::relative_path_inside_home_renders_tilde" - "modules::path::tests::relative_path_with_shared_prefix_is_not_tilde" "test_git_module" + "modules::git::tests::empty_dir_tree_not_reported_as_untracked" + "modules::git::tests::empty_repo_has_no_untracked_status_in_gix_path" + "modules::git::tests::empty_repo_has_no_untracked_status_in_slow_path" + "modules::git::tests::untracked_file_sets_untracked_status_in_gix_path" + "modules::git::tests::xdg_ignored_progress_dir_does_not_set_untracked_status" + "modules::git::tests::xdg_ignored_progress_dir_stays_clean_in_gix_path" ]; - nativeInstallCheckInputs = [ versionCheckHook ]; - doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; passthru.updateScript = nix-update-script { }; meta = { description = "Ultra-fast, customizable shell prompt generator"; homepage = "https://github.com/3axap4eHko/prmt"; - changelog = "https://github.com/3axap4eHko/prmt/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/3axap4eHko/prmt/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nartsiss ]; mainProgram = "prmt";