blob: a387bc061146db49d66e39b5daac5bab3c42e56d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, buildPythonPackage, fetchFromGitHub, requests
, tqdm, websocket_client, pytest, pillow, mock, isPy27 }:
buildPythonPackage rec {
pname = "PlexAPI";
version = "3.4.0";
src = fetchFromGitHub {
owner = "pkkid";
repo = "python-plexapi";
rev = version;
sha256 = "1y6mynsvkm9n2n927x8az9ch4blrjja7im9x7iyfrxahqgz0km77";
};
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 ];
};
}
|