diff --git a/pkgs/by-name/co/cosmic-ext-ctl/package.nix b/pkgs/by-name/co/cosmic-ext-ctl/package.nix index 9812b7f88eff..dfc2d23e4987 100644 --- a/pkgs/by-name/co/cosmic-ext-ctl/package.nix +++ b/pkgs/by-name/co/cosmic-ext-ctl/package.nix @@ -6,22 +6,19 @@ nix-update-script, cosmic-comp, }: -let - version = "1.1.0"; -in -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cosmic-ext-ctl"; - inherit version; + version = "1.4.0"; src = fetchFromGitHub { owner = "cosmic-utils"; repo = "cosmic-ctl"; - tag = "v${version}"; - hash = "sha256-dcUzrJcwJpzbYPuqdHgm43NYbaowsFmFP4sS0cfzNAg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-4UbmzBKxJwpyzucPRguQV1078961goiQlhtDjOGz1kA="; }; useFetchCargoVendor = true; - cargoHash = "sha256-EReo2hkBaIO1YOBx4D9rQSXlx+3NK5VQtj59jfZZI/0="; + cargoHash = "sha256-53lpHzHQ6SoZzd+h6O0NvSJHsPgbW0/kqnDrM5D6SWQ="; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; @@ -31,11 +28,11 @@ rustPlatform.buildRustPackage { meta = { description = "CLI for COSMIC Desktop configuration management"; - changelog = "https://github.com/cosmic-utils/cosmic-ctl/releases/tag/v${version}"; + changelog = "https://github.com/cosmic-utils/cosmic-ctl/releases/tag/v${finalAttrs.version}"; homepage = "https://github.com/cosmic-utils/cosmic-ctl"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ HeitorAugustoLN ]; mainProgram = "cosmic-ctl"; inherit (cosmic-comp.meta) platforms; }; -} +})