Merge pull request #115767 from jojosch/jellyfin-mpv-shim-1.8.1

This commit is contained in:
Sandro
2021-03-25 11:28:53 +01:00
committed by GitHub
5 changed files with 78 additions and 92 deletions

View File

@@ -1,24 +1,23 @@
{ lib, buildPythonPackage, fetchFromGitHub, requests
{ lib, buildPythonPackage, fetchPypi, requests
, websocket_client, pythonOlder }:
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
version = "1.6.1";
version = "1.7.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "iwalton3";
repo = "jellyfin-apiclient-python";
rev = "v${version}";
sha256 = "0f7czq83ic22fz1vnf0cavb7l3grcxxd5yyw9wcjz3g1j2d76735";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-nSLUa9/jAT6XrHo77kV5HYBxPO/lhcWKqPfpES7ul9A=";
};
propagatedBuildInputs = [ requests websocket_client ];
doCheck = false; # no tests
pythonImportsCheck = [ "jellyfin_apiclient_python" ];
meta = with lib; {
homepage = "https://github.com/iwalton3/jellyfin-apiclient-python";
homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
description = "Python API client for Jellyfin";
license = licenses.gpl3;
maintainers = with maintainers; [ jojosch ];