29 lines
724 B
Nix
29 lines
724 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "obs-cmd";
|
|
version = "0.19.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grigio";
|
|
repo = "obs-cmd";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-a7GUv14iJLrgXu6y5uJalD1cx723aIlPLDPOOoemtIY=";
|
|
};
|
|
|
|
cargoHash = "sha256-ZWVNLI900SZhXLMV2/v3WT2eqv+4XofpIgm/f/0eE+U=";
|
|
|
|
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/v${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
mainProgram = "obs-cmd";
|
|
};
|
|
})
|