2021-03-10 11:39:27 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests
|
2020-03-05 09:25:37 +00:00
|
|
|
, websocket_client, pythonOlder }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jellyfin-apiclient-python";
|
2021-03-18 07:26:01 +00:00
|
|
|
version = "1.7.0";
|
2020-03-05 09:25:37 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2021-03-10 11:39:27 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-18 07:26:01 +00:00
|
|
|
sha256 = "sha256-OyJ29pbVTkEJwnt5LfHSCjo76eUex4TTkIhXMmiHTNI=";
|
2020-03-05 09:25:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests websocket_client ];
|
|
|
|
|
2021-03-10 11:39:27 +00:00
|
|
|
doCheck = false; # no tests
|
2020-03-05 09:25:37 +00:00
|
|
|
pythonImportsCheck = [ "jellyfin_apiclient_python" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-03-18 07:26:01 +00:00
|
|
|
homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
|
2020-03-05 09:25:37 +00:00
|
|
|
description = "Python API client for Jellyfin";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ jojosch ];
|
|
|
|
};
|
|
|
|
}
|