1{ lib 2, buildPythonPackage 3, certifi 4, fetchPypi 5, pythonOlder 6, requests 7, urllib3 8, websocket-client 9}: 10 11buildPythonPackage rec { 12 pname = "jellyfin-apiclient-python"; 13 version = "1.9.2"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-vMzZeoiWli3HjM8Dqr5RhNfR7gcjPqoXG3b/aNNlx2Q="; 21 }; 22 23 propagatedBuildInputs = [ 24 certifi 25 requests 26 urllib3 27 websocket-client 28 ]; 29 30 # Module has no test 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "jellyfin_apiclient_python" 35 ]; 36 37 meta = with lib; { 38 description = "Python API client for Jellyfin"; 39 homepage = "https://github.com/jellyfin/jellyfin-apiclient-python"; 40 license = licenses.gpl3Only; 41 maintainers = with maintainers; [ jojosch ]; 42 }; 43}