2024-01-15 07:51:22 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "obs-do";
|
2024-02-11 12:55:17 +00:00
|
|
|
version = "0.1.1";
|
2024-01-15 07:51:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jonhoo";
|
|
|
|
repo = "obs-do";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-02-11 12:55:17 +00:00
|
|
|
hash = "sha256-Wqz+oR/FIShSgF4xbXMMCxFUscOnoQr1aHQBCCacJgo=";
|
2024-01-15 07:51:22 +00:00
|
|
|
};
|
|
|
|
|
2024-02-11 12:55:17 +00:00
|
|
|
cargoHash = "sha256-J1bj4TQzEB8qoR6cNyW/fK9Vi0l+wRZlP/2smzbYhVg=";
|
2024-01-15 07:51:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CLI for common OBS operations while streaming using WebSocket";
|
|
|
|
homepage = "https://github.com/jonhoo/obs-do";
|
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ GaetanLepage ];
|
|
|
|
mainProgram = "obs-do";
|
|
|
|
};
|
|
|
|
}
|