nixpkgs/pkgs/development/python-modules/plexapi/default.nix

27 lines
686 B
Nix
Raw Normal View History

2020-01-21 02:30:48 +00:00
{ lib, buildPythonPackage, fetchFromGitHub, requests
, tqdm, websocket_client, pytest, pillow, isPy27 }:
2020-01-21 02:30:48 +00:00
buildPythonPackage rec {
pname = "PlexAPI";
version = "4.1.2";
disabled = isPy27;
2020-01-21 02:30:48 +00:00
src = fetchFromGitHub {
owner = "pkkid";
repo = "python-plexapi";
rev = version;
sha256 = "1l955q1q6lljq3bmyiayr33gzxrlw16xdwgjdaflznvyg16fcjkk";
2020-01-21 02:30:48 +00:00
};
propagatedBuildInputs = [ requests tqdm websocket_client ];
checkInputs = [ pytest pillow ];
2020-01-21 02:30:48 +00:00
meta = with lib; {
homepage = "https://github.com/pkkid/python-plexapi";
description = "Python bindings for the Plex API";
license = licenses.bsd3;
maintainers = with maintainers; [ colemickens ];
};
}