Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, setuptools, aiohttp,}:
buildPythonPackage rec { pname = "aiowebostv"; version = "0.7.4"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "aiowebostv"; tag = "v${version}"; hash = "sha256-VBdHI6aGfhcgDdwspToHp3iNFQRT0Z+Fseq0eNdUwTo="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${version}"' '';
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Module doesn't have tests doCheck = false;
pythonImportsCheck = [ "aiowebostv" ];
meta = with lib; { description = "Module to interact with LG webOS based TV devices"; homepage = "https://github.com/home-assistant-libs/aiowebostv"; changelog = "https://github.com/home-assistant-libs/aiowebostv/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}