2024-02-26 20:50:37 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "obs-cmd";
|
2024-10-19 20:00:49 +00:00
|
|
|
version = "0.17.9";
|
2024-02-26 20:50:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grigio";
|
|
|
|
repo = "obs-cmd";
|
|
|
|
rev = "v${version}";
|
2024-10-19 20:00:49 +00:00
|
|
|
hash = "sha256-R3zGYVa5ux3pcniuXzKwxJK/5/7YrVOrqC2H42P2fK0=";
|
2024-02-26 20:50:37 +00:00
|
|
|
};
|
|
|
|
|
2024-10-19 20:00:49 +00:00
|
|
|
cargoHash = "sha256-bFOaR48xdc4+DvlFnXCWtzqMbE1cTo7xrsf/aIBlRX0=";
|
2024-02-26 20:50:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimal CLI to control OBS Studio via obs-websocket";
|
|
|
|
homepage = "https://github.com/grigio/obs-cmd";
|
2024-06-16 20:48:03 +00:00
|
|
|
changelog = "https://github.com/grigio/obs-cmd/releases/tag/${src.rev}";
|
2024-02-26 20:50:37 +00:00
|
|
|
license = licenses.mit;
|
2024-11-05 20:47:26 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2024-02-26 20:50:37 +00:00
|
|
|
mainProgram = "obs-cmd";
|
|
|
|
};
|
|
|
|
}
|