depot/third_party/nixpkgs/pkgs/applications/misc/obs-cli/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

40 lines
849 B
Nix

{ 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;
};
}