depot/third_party/nixpkgs/pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

42 lines
806 B
Nix

{
lib,
buildPythonPackage,
certifi,
fetchPypi,
pythonOlder,
requests,
urllib3,
websocket-client,
}:
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
version = "1.9.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-vMzZeoiWli3HjM8Dqr5RhNfR7gcjPqoXG3b/aNNlx2Q=";
};
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 ];
};
}