mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
29 lines
726 B
Nix
29 lines
726 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "obs-cmd";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grigio";
|
|
repo = "obs-cmd";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-yIS9P2ljyiT8tiJmieQXWQcSkKmP7p0/XErujQRxDCE=";
|
|
};
|
|
|
|
cargoHash = "sha256-jEGgTyqGprvtDkoWc5qihdeN91/4is3i7JBeqlm9KDw=";
|
|
|
|
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 = [ lib.maintainers.ramblurr ];
|
|
mainProgram = "obs-cmd";
|
|
};
|
|
})
|