biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / obs-cli / default.nix
blob03a984f82b462465faf744a0a29ce57522361454
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , makeWrapper
5 }:
7 buildGoModule rec {
8   pname = "obs-cli";
9   version = "0.5.0";
11   src = fetchFromGitHub {
12     owner = "muesli";
13     repo = "obs-cli";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-4tjS+PWyP/T0zs4IGE6VQ5c+3tuqxlBwfpPBVEcim6c=";
16   };
18   vendorHash = "sha256-tjQOHvmhHyVMqIJQvFaisEqci1wkB4ke/a+GSgwXzCo=";
20   proxyVendor = true;
22   nativeBuildInputs = [
23     makeWrapper
24   ];
26   ldflags = [
27     "-s"
28     "-w"
29   ];
31   meta = with lib; {
32     description = "OBS-cli is a command-line remote control for OBS";
33     homepage = "https://github.com/muesli/obs-cli";
34     changelog = "https://github.com/muesli/obs-cli/releases/tag/v${version}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ flexiondotorg ];
37     platforms = platforms.linux ++ platforms.darwin;
38     mainProgram = "obs-cli";
39   };