2025-04-21 09:31:19 +00:00

43 lines
770 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
aiohttp,
pytest,
pytestCheckHook,
pytest-mock,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "pyytlounge";
version = "3.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "FabioGNR";
repo = "pyytlounge";
tag = "v${version}";
hash = "sha256-8cdahP1u8Rf4m/167ie9aKcELLiWNvZOx7tV9YLK4nU=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytest
pytestCheckHook
pytest-mock
pytest-asyncio
];
meta = with lib; {
description = "Python YouTube Lounge API";
homepage = "https://github.com/FabioGNR/pyytlounge";
license = licenses.gpl3Only;
maintainers = [ maintainers.lukegb ];
};
}