Commit 628f5df8 authored by Jamie Magee's avatar Jamie Magee
Browse files

python313Packages.pyps4-2ndscreen: init at 1.3.1

parent 88de686d
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  setuptools,
  aiohttp,
  click,
  construct,
  pycryptodomex,
  pytestCheckHook,
  pytest-asyncio,
  asynctest,
}:

buildPythonPackage rec {
  pname = "pyps4-2ndscreen";
  version = "1.3.1";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "ktnrg45";
    repo = "pyps4-2ndscreen";
    tag = version;
    hash = "sha256-AXU9WJ7kT/0ev1Cn+CYhEieR7IM5VXebxQYWUS8bdds=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    click
    construct
    pycryptodomex
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
    asynctest
  ];

  # Disable tests for Python 3.11+ since they all require asynctest
  doCheck = pythonOlder "3.11";

  pythonImportsCheck = [ "pyps4_2ndscreen" ];

  meta = {
    description = "PS4 2nd Screen Python Library";
    homepage = "https://github.com/ktnrg45/pyps4-2ndscreen";
    changelog = "https://github.com/ktnrg45/pyps4-2ndscreen/releases/tag/${version}";
    license = lib.licenses.lgpl2Plus;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13451,6 +13451,8 @@ self: super: with self; {
  pyprusalink = callPackage ../development/python-modules/pyprusalink { };
  pyps4-2ndscreen = callPackage ../development/python-modules/pyps4-2ndscreen { };
  pypsrp = callPackage ../development/python-modules/pypsrp { };
  pyptlib = callPackage ../development/python-modules/pyptlib { };