1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, requests
6, six
7, websocket-client
8}:
9
10buildPythonPackage rec {
11 pname = "jellyfin-apiclient-python";
12 version = "1.7.2";
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-nSLUa9/jAT6XrHo77kV5HYBxPO/lhcWKqPfpES7ul9A=";
18 };
19
20 propagatedBuildInputs = [
21 requests
22 six
23 websocket-client
24 ];
25
26 doCheck = false; # no tests
27 pythonImportsCheck = [ "jellyfin_apiclient_python" ];
28
29 meta = with lib; {
30 homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
31 description = "Python API client for Jellyfin";
32 license = licenses.gpl3Only;
33 maintainers = with maintainers; [ jojosch ];
34 };
35}