obs-cli: init at 0.5.0

This commit is contained in:
Martin Wimpress 2023-04-26 15:06:14 +01:00 committed by Cole Helbling
parent b69e2110e9
commit 5572bc1827
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, makeWrapper
}:
buildGoModule rec {
pname = "obs-cli";
version = "0.5.0";
src = fetchFromGitHub {
owner = "muesli";
repo = "obs-cli";
rev = "refs/tags/v${version}";
hash = "sha256-4tjS+PWyP/T0zs4IGE6VQ5c+3tuqxlBwfpPBVEcim6c=";
};
vendorHash = "sha256-tjQOHvmhHyVMqIJQvFaisEqci1wkB4ke/a+GSgwXzCo=";
proxyVendor = true;
nativeBuildInputs = [
makeWrapper
];
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "OBS-cli is a command-line remote control for OBS";
homepage = "https://github.com/muesli/obs-cli";
changelog = "https://github.com/muesli/obs-cli/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ flexiondotorg ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View file

@ -33468,6 +33468,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Foundation;
};
obs-cli = callPackage ../applications/misc/obs-cli { };
obs-studio = qt6Packages.callPackage ../applications/video/obs-studio {
ffmpeg_4 = ffmpeg-full;
};