depot/third_party/nixpkgs/pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

43 lines
802 B
Nix

{ lib
, buildPythonPackage
, certifi
, fetchPypi
, pythonOlder
, requests
, urllib3
, websocket-client
}:
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
version = "1.9.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-fS+NQUTKNxHuE+qsV91mpTlYt7DfXQVsA9ybfLlHYtc=";
};
propagatedBuildInputs = [
certifi
requests
urllib3
websocket-client
];
# Module has no test
doCheck = false;
pythonImportsCheck = [
"jellyfin_apiclient_python"
];
meta = with lib; {
description = "Python API client for Jellyfin";
homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
license = licenses.gpl3Only;
maintainers = with maintainers; [ jojosch ];
};
}