Files
nixpkgs/pkgs/development/python-modules/aiolibresync/default.nix
2026-11-22 15:52:29 -08:00

39 lines
894 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "aiolibresync";
version = "0.5.3";
pyproject = true;
src = fetchFromGitHub {
owner = "drsound";
repo = "aiolibresync";
tag = "v${finalAttrs.version}";
hash = "sha256-N69rpWbiy89Icmusbt3lX2svQnJZRHk0M2KEPY8HMX4=";
};
build-system = [ hatchling ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aiolibresync" ];
meta = {
description = "Async client for Libre Wireless LibreSync audio hubs, such as the Platin Stereo Hub";
homepage = "https://github.com/drsound/aiolibresync";
changelog = "https://github.com/drsound/aiolibresync/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})