Files
lg-smtv-mcp/flake.nix
T
kiskaadee 9cd722ed49 feat: add Nix devShell and LG webOS discovery/control PoC scripts
- Add flake.nix, flake.lock, and pyproject.toml provisioning Python 3.14, websockets, pyright, and ruff
- Add .gitignore to exclude Python caches and local TV pairing keys
- Add discover.py for SSDP multicast discovery of LG webOS TVs
- Add tv_test.py for SSAP wss:// pairing, client-key persistence, and basic remote commands
2026-11-14 21:30:11 -05:00

26 lines
520 B
Nix

{
description = "LG webOS local control testing environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
pythonEnv = pkgs.python3.withPackages (ps: [
ps.websockets
]);
in
{
devShells.${system}.default = pkgs.mkShell {
packages = [
pythonEnv
pkgs.pyright
pkgs.ruff
];
};
};
}