42 lines
770 B
Nix
42 lines
770 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
aiohttp,
|
|
pytest,
|
|
pytestCheckHook,
|
|
pytest-mock,
|
|
pytest-asyncio,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyytlounge";
|
|
version = "2.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FabioGNR";
|
|
repo = "pyytlounge";
|
|
rev = "v${version}";
|
|
hash = "sha256-0QPa3EzOBv5fuw3FGgmoN4KiC4KHo1Z+Svjcneoe0pc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|