forked from mirrors/nixpkgs
38 lines
744 B
Nix
38 lines
744 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, certifi
|
|
, requests
|
|
, six
|
|
, websocket-client
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jellyfin-apiclient-python";
|
|
version = "1.8.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "t2XmZ7rsrZq943lzRDrqzsY/djFNjFbkEYeHeA2AViI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
certifi
|
|
requests
|
|
six
|
|
websocket-client
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
pythonImportsCheck = [ "jellyfin_apiclient_python" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
|
|
description = "Python API client for Jellyfin";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ jojosch ];
|
|
};
|
|
}
|