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

This commit is contained in:
Martin Weinelt 2025-07-06 05:37:29 +02:00 committed by GitHub
commit 4b6e5cb1ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 62 additions and 1 deletions

View File

@ -0,0 +1,57 @@
{
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 ];
};
}

View File

@ -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"

View File

@ -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 { };