depot/third_party/nixpkgs/pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
Default email 646c172193 Project import generated by Copybara.
GitOrigin-RevId: c478eaf416411a7dedf773185b6d5bfc966a80ae
2021-12-21 10:18:32 +08:00

35 lines
729 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, requests
, six
, websocket-client
}:
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
version = "1.8.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-pH1mFm0enT8LOCYABAgb/T/ZwHyhtQGBu7mAxNeu7jQ=";
};
propagatedBuildInputs = [
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 ];
};
}