Commit 16f1a1b1 authored by Luke Granger-Brown's avatar Luke Granger-Brown
Browse files

python3.pkgs.pyytlounge: init at 2.1.1

parent c645046b
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13123,6 +13123,8 @@ self: super: with self; {
  pyyardian = callPackage ../development/python-modules/pyyardian { };
  pyytlounge = callPackage ../development/python-modules/pyytlounge { };
  pyzabbix = callPackage ../development/python-modules/pyzabbix { };
  pyzerproc = callPackage ../development/python-modules/pyzerproc { };