Commit 813d15c9 authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Packages.obsws-python: init at 5.5

parent bca3cad4
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  hatchling,
  tomli,
  websocket-client,
}:
buildPythonPackage (finalAttrs: {
  pname = "obsws-python";
  version = "5.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aatikturk";
    repo = "obsws-python";
    rev = "f70583d7ca250c1f3a0df768d3cfd41663a6023b"; # no tags
    hash = "sha256-krIiSmn/56Ao4fH6Y7JSQ11Euqt0tIq4JJjxqrt8MZc=";
  };

  build-system = [ hatchling ];

  dependencies = [
    tomli
    websocket-client
  ];

  doCheck = false; # attempts to connect to OBS

  meta = {
    description = "Python SDK for OBS Studio WebSocket v5.0";
    homepage = "https://github.com/aatikturk/obsws-python";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -11332,6 +11332,8 @@ self: super: with self; {
  obstore = callPackage ../development/python-modules/obstore { };
  obsws-python = callPackage ../development/python-modules/obsws-python { };
  oca-port = callPackage ../development/python-modules/oca-port { };
  ochre = callPackage ../development/python-modules/ochre { };