about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ob/obs-do/package.nix
blob: 60e7f0f563ad782a934b134be04166b8ebe54099 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "obs-do";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "jonhoo";
    repo = "obs-do";
    rev = "refs/tags/v${version}";
    hash = "sha256-MlBtnRMovnek4dkfO7ocafSgAwIXB5p1FmhNeqfSspA=";
  };

  cargoHash = "sha256-5EqiDibeWrN45guneN2bxKDXfSz3wDxBNHdl0Km/lpA=";

  meta = with lib; {
    description = "CLI for common OBS operations while streaming using WebSocket";
    homepage = "https://github.com/jonhoo/obs-do";
    license = with licenses; [ asl20 mit ];
    maintainers = with maintainers; [ GaetanLepage ];
    mainProgram = "obs-do";
  };
}