nixpkgs/pkgs/by-name/ob/obs-do/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
655 B
Nix
Raw Normal View History

2024-01-15 07:51:22 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "obs-do";
version = "0.1.1";
2024-01-15 07:51:22 +00:00
src = fetchFromGitHub {
owner = "jonhoo";
repo = "obs-do";
rev = "refs/tags/v${version}";
hash = "sha256-Wqz+oR/FIShSgF4xbXMMCxFUscOnoQr1aHQBCCacJgo=";
2024-01-15 07:51:22 +00:00
};
cargoHash = "sha256-J1bj4TQzEB8qoR6cNyW/fK9Vi0l+wRZlP/2smzbYhVg=";
2024-01-15 07:51:22 +00:00
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";
};
}