From 4fe26ef19f7b589ce0195699815ea2717341aa95 Mon Sep 17 00:00:00 2001 From: Petr Portnov Date: Sun, 29 Mar 2026 14:58:47 +0300 Subject: [PATCH] sic-image-cli: 0.22.4 -> imagineer 0.24.0 --- .../imagineer}/package.nix | 25 ++++++++++++------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 17 insertions(+), 9 deletions(-) rename pkgs/by-name/{si/sic-image-cli => im/imagineer}/package.nix (61%) diff --git a/pkgs/by-name/si/sic-image-cli/package.nix b/pkgs/by-name/im/imagineer/package.nix similarity index 61% rename from pkgs/by-name/si/sic-image-cli/package.nix rename to pkgs/by-name/im/imagineer/package.nix index a711e0468edc..24e108b02ff0 100644 --- a/pkgs/by-name/si/sic-image-cli/package.nix +++ b/pkgs/by-name/im/imagineer/package.nix @@ -5,20 +5,22 @@ fetchFromGitHub, installShellFiles, nasm, + versionCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { - pname = "sic-image-cli"; - version = "0.22.4"; + pname = "imagineer"; + version = "0.24.0"; src = fetchFromGitHub { owner = "foresterre"; - repo = "sic"; + repo = "imagineer"; rev = "v${finalAttrs.version}"; - hash = "sha256-PFbHHO3m4mnV5s8DVev/iao9sC3FYht0whTHYzO25Yo="; + hash = "sha256-pnnMRRccxSA5F6oIbe9wvdMmuSUMI7Da+NtwyH2psjo="; }; - cargoHash = "sha256-HL/KCC8Y42OFL1LXoewmH1Bxp6FICuDjkTnK5DE94Ms="; + cargoHash = "sha256-6QMMP6Uss9r6zNd/S6w7yo19IBOQyLmFvcn2o0MkOq4="; nativeBuildInputs = [ installShellFiles @@ -30,10 +32,15 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; postInstall = '' - installShellCompletion sic.{bash,fish} - installShellCompletion --zsh _sic + installShellCompletion ig.{bash,fish} + installShellCompletion --zsh _ig ''; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; + meta = { description = "Accessible image processing and conversion from the terminal"; homepage = "https://github.com/foresterre/sic"; @@ -42,8 +49,8 @@ rustPlatform.buildRustPackage (finalAttrs: { asl20 # or mit ]; - maintainers = [ ]; - mainProgram = "sic"; + maintainers = [ lib.maintainers.progrm_jarvis ]; + mainProgram = "ig"; # The last successful Darwin Hydra build was in 2024 broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c19c4fc63eb1..e76e7bc92b58 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1778,6 +1778,7 @@ mapAliases { shades-of-gray-theme = throw "'shades-of-gray-theme' has been removed because upstream is a 404"; # Added 2025-12-20 shared_desktop_ontologies = throw "'shared_desktop_ontologies' has been removed as it had been abandoned upstream"; # Added 2025-11-09 shipyard = throw "'shipyard' has been renamed to/replaced by 'jumppad'"; # Converted to throw 2025-10-27 + sic-image-cli = warnAlias "'sic-image-cli' has been renamed to 'imagineer'" imagineer; # Added 2026-03-29 siduck76-st = throw "'siduck76-st' has been renamed to/replaced by 'st-snazzy'"; # Converted to throw 2025-10-27 sierra-breeze-enhanced = throw "'sierra-breeze-enhanced' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20 signal-desktop-bin = throw "'signal-desktop-bin' has been replaced by 'signal-desktop' which is built from source"; # Added 2026-03-02