Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pyprojectVersionPatchHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "infrared-protocols"; version = "10.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "infrared-protocols"; tag = finalAttrs.version; hash = "sha256-WYSITY08808zxMmO6FWuWSxtyQ0V+eISbLfyd5D7UjE="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools>=78.1.1,<83.0" setuptools '';
nativeBuildInputs = [ pyprojectVersionPatchHook ];
build-system = [ setuptools ];
pythonImportsCheck = [ "infrared_protocols" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { changelog = "https://github.com/home-assistant-libs/infrared-protocols/releases/tag/${finalAttrs.src.tag}"; description = "Library to decode and encode infrared signals"; homepage = "https://github.com/home-assistant-libs/infrared-protocols"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; };})