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