depot/third_party/nixpkgs/pkgs/development/python-modules/plexapi/default.nix
Default email 4fc29cb41f Project import generated by Copybara.
GitOrigin-RevId: 135073a87b7e2c631739f4ffa016e1859b1a425e
2020-05-29 08:06:01 +02:00

26 lines
708 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, requests
, tqdm, websocket_client, pytest, pillow, mock, isPy27 }:
buildPythonPackage rec {
pname = "PlexAPI";
version = "3.6.0";
src = fetchFromGitHub {
owner = "pkkid";
repo = "python-plexapi";
rev = version;
sha256 = "1lzp3367hmcpqwbkp4ckdv6hv37knwnwya88jicwl1smznpmjdfv";
};
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 ];
};
}