f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
40 lines
869 B
Nix
40 lines
869 B
Nix
{ lib
|
|
, 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;
|
|
mainProgram = "obs-cli";
|
|
};
|
|
}
|