depot/third_party/nixpkgs/pkgs/by-name/ob/obs-cmd/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

27 lines
698 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "obs-cmd";
version = "0.17.8";
src = fetchFromGitHub {
owner = "grigio";
repo = "obs-cmd";
rev = "v${version}";
hash = "sha256-IOGdy3X0/r/kuEXAvLeJk2HXtcGI+vbh4Dn1/yOpkmM=";
};
cargoHash = "sha256-oCu/ygjZxEqxE+5Vca3l1mZP3hd+r+5gi2iogQMnEcU=";
meta = with lib; {
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/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ ianmjones ];
mainProgram = "obs-cmd";
};
}