plexapi: init at 3.2.0

This commit is contained in:
Cole Mickens 2020-01-20 18:30:48 -08:00 committed by Jon
parent bb92cfdda2
commit 4249db11a6
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchFromGitHub, requests
, tqdm, websocket_client, pytest, pillow, mock, isPy27 }:
buildPythonPackage rec {
pname = "PlexAPI";
version = "3.2.0";
src = fetchFromGitHub {
owner = "pkkid";
repo = "python-plexapi";
rev = version;
sha256 = "1rzy018zcsws56mcghnphhzwj650pwj7qg6nh9z1kjvgwwjfmghf";
};
propagatedBuildInputs = [ requests tqdm websocket_client ];
checkInputs = [ pytest pillow ]
++ lib.optionals isPy27 [ mock ];
meta = with lib; {
homepage = "https://github.com/pkkid/python-plexapi";
description = "Python bindings for the Plex API";
license = licenses.bsd3;
maintainers = with maintainers; [ colemickens ];
};
}

View File

@ -2960,6 +2960,8 @@ in {
plaster-pastedeploy = callPackage ../development/python-modules/plaster-pastedeploy {};
plexapi = callPackage ../development/python-modules/plexapi { };
plotly = callPackage ../development/python-modules/plotly { };
plyfile = callPackage ../development/python-modules/plyfile { };