From 8f02dc336ad22507ee0468fccd5e60fe514e4dce Mon Sep 17 00:00:00 2001 From: "Ian M. Jones" Date: Mon, 26 Feb 2024 20:50:37 +0000 Subject: [PATCH] obs-cmd: init at 0.17.4 --- pkgs/by-name/ob/obs-cmd/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/ob/obs-cmd/package.nix diff --git a/pkgs/by-name/ob/obs-cmd/package.nix b/pkgs/by-name/ob/obs-cmd/package.nix new file mode 100644 index 000000000000..71fe89fb7b3e --- /dev/null +++ b/pkgs/by-name/ob/obs-cmd/package.nix @@ -0,0 +1,26 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "obs-cmd"; + version = "0.17.4"; + + src = fetchFromGitHub { + owner = "grigio"; + repo = "obs-cmd"; + rev = "v${version}"; + hash = "sha256-HCvIMIQZKzIkpYL9F9oM4xiE/gOeI+7dMj9QmhetHm4="; + }; + + cargoHash = "sha256-AQRjZH3WhZXU6NhDSCv4/HWz5un1nFtuzWPYSJA9XaE="; + + meta = with lib; { + description = "Minimal CLI to control OBS Studio via obs-websocket"; + homepage = "https://github.com/grigio/obs-cmd"; + license = licenses.mit; + maintainers = with maintainers; [ ianmjones ]; + mainProgram = "obs-cmd"; + }; +}