3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
2021-12-23 09:05:34 -08:00

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 ];
};
}