python3Packages.rf-protocols: init at 2.2.0 (#515182)

This commit is contained in:
Fabian Affolter
2026-05-01 08:00:02 +00:00
committed by GitHub
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
prek,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "rf-protocols";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "rf-protocols";
tag = finalAttrs.version;
hash = "sha256-eB9Rcgd2eRs4Wx9Vjw//BT0jPPXN/PS0sukXOwmNnuc=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
prek
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "rf_protocols" ];
meta = {
description = "Library to decode and encode radio frequency signals";
homepage = "https://github.com/home-assistant-libs/rf-protocols";
changelog = "https://github.com/home-assistant-libs/rf-protocols/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
+2
View File
@@ -16905,6 +16905,8 @@ self: super: with self; {
reverse-geocode = callPackage ../development/python-modules/reverse-geocode { };
rf-protocols = callPackage ../development/python-modules/rf-protocols { };
rfc3161-client = callPackage ../development/python-modules/rfc3161-client { };
rfc3339 = callPackage ../development/python-modules/rfc3339 { };