Unverified Commit 4b6e5cb1 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python313Packages.pyps4-2ndscreen: init at 1.3.1 (#422837)

parents 142ba9cf f8066d8a
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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -4583,7 +4583,8 @@
      ];
    "ps4" =
      ps: with ps; [
      ]; # missing inputs: pyps4-2ndscreen
        pyps4-2ndscreen
      ];
    "pse" =
      ps: with ps; [
      ];
@@ -7416,6 +7417,7 @@
    "prosegur"
    "proximity"
    "prusalink"
    "ps4"
    "pterodactyl"
    "pure_energie"
    "purpleair"
+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 { };