depot/third_party/nixpkgs/pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
Default email 48af15f7a5 Project import generated by Copybara.
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
2021-03-20 04:20:00 +00:00

25 lines
697 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests
, websocket_client, pythonOlder }:
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
version = "1.7.2";
disabled = pythonOlder "3.6";
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/jellyfin/jellyfin-apiclient-python";
description = "Python API client for Jellyfin";
license = licenses.gpl3;
maintainers = with maintainers; [ jojosch ];
};
}