depot/third_party/nixpkgs/pkgs/development/python-modules/pyytlounge/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

45 lines
790 B
Nix

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