btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / ob / obs-do / package.nix
blob29acd2838e8b5bf2ee1fbab7bd735d5ac8212195
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "obs-do";
8   version = "0.1.1";
10   src = fetchFromGitHub {
11     owner = "jonhoo";
12     repo = "obs-do";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-Wqz+oR/FIShSgF4xbXMMCxFUscOnoQr1aHQBCCacJgo=";
15   };
17   cargoHash = "sha256-J1bj4TQzEB8qoR6cNyW/fK9Vi0l+wRZlP/2smzbYhVg=";
19   meta = with lib; {
20     description = "CLI for common OBS operations while streaming using WebSocket";
21     homepage = "https://github.com/jonhoo/obs-do";
22     license = with licenses; [ asl20 mit ];
23     maintainers = with maintainers; [ GaetanLepage ];
24     mainProgram = "obs-do";
25   };