python310Packages.jellyfin-apiclient-python: adjust inputs

This commit is contained in:
Fabian Affolter 2022-08-28 11:01:41 +02:00 committed by GitHub
parent 4f66e4fdd8
commit c5692172b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,36 +1,42 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, certifi
, fetchPypi
, pythonOlder
, requests
, six
, urllib3
, websocket-client
}:
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
version = "1.9.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-fS+NQUTKNxHuE+qsV91mpTlYt7DfXQVsA9ybfLlHYtc=";
hash = "sha256-fS+NQUTKNxHuE+qsV91mpTlYt7DfXQVsA9ybfLlHYtc=";
};
propagatedBuildInputs = [
certifi
requests
six
urllib3
websocket-client
];
doCheck = false; # no tests
pythonImportsCheck = [ "jellyfin_apiclient_python" ];
# Module has no test
doCheck = false;
pythonImportsCheck = [
"jellyfin_apiclient_python"
];
meta = with lib; {
homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
description = "Python API client for Jellyfin";
homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
license = licenses.gpl3Only;
maintainers = with maintainers; [ jojosch ];
};