2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "obs-cmd";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.17.8";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grigio";
|
|
|
|
repo = "obs-cmd";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-IOGdy3X0/r/kuEXAvLeJk2HXtcGI+vbh4Dn1/yOpkmM=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash = "sha256-oCu/ygjZxEqxE+5Vca3l1mZP3hd+r+5gi2iogQMnEcU=";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimal CLI to control OBS Studio via obs-websocket";
|
|
|
|
homepage = "https://github.com/grigio/obs-cmd";
|
2024-07-27 06:49:29 +00:00
|
|
|
changelog = "https://github.com/grigio/obs-cmd/releases/tag/${src.rev}";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ianmjones ];
|
|
|
|
mainProgram = "obs-cmd";
|
|
|
|
};
|
|
|
|
}
|