cosmic-ext-ctl: 1.1.0 -> 1.4.0 (#398143)

This commit is contained in:
Austin Horstman
2025-04-12 20:06:07 -07:00
committed by GitHub
+7 -10
View File
@@ -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;
};
}
})