From bb5109f89ecbb4c58de05be657b68e9be0b22f55 Mon Sep 17 00:00:00 2001 From: emaryn Date: Wed, 14 May 2025 19:35:02 +0800 Subject: [PATCH] obs-cmd: 0.18.2 -> 0.18.4 Diff: https://github.com/grigio/obs-cmd/compare/v0.18.2...v0.18.4 Changelog: https://github.com/grigio/obs-cmd/releases/tag/v0.18.4 --- pkgs/by-name/ob/obs-cmd/package.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/ob/obs-cmd/package.nix b/pkgs/by-name/ob/obs-cmd/package.nix index 2777931a8361..8b300de3879c 100644 --- a/pkgs/by-name/ob/obs-cmd/package.nix +++ b/pkgs/by-name/ob/obs-cmd/package.nix @@ -4,26 +4,26 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "obs-cmd"; - version = "0.18.2"; + version = "0.18.4"; src = fetchFromGitHub { owner = "grigio"; repo = "obs-cmd"; - rev = "v${version}"; - hash = "sha256-plNLVBSTen11q945qtDBJaNTWKGICbuWokyvRzhu0Wg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-/LgQqxZqxbE8hgip+yl8VVjiRYD+6AblKag2MQo1gDs="; }; useFetchCargoVendor = true; cargoHash = "sha256-ZKHm6N7y5FbDFiK2QfQ+9siexgzrdLpBs5Xikh1SRLo="; - meta = with lib; { + meta = { description = "Minimal CLI to control OBS Studio via obs-websocket"; homepage = "https://github.com/grigio/obs-cmd"; - changelog = "https://github.com/grigio/obs-cmd/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ ]; + changelog = "https://github.com/grigio/obs-cmd/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; mainProgram = "obs-cmd"; }; -} +})