1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-05 06:44:40 +00:00

Merge pull request #112343 from fabaff/bump-plexapi

python3Packages.plexapi: 4.1.2 -> 4.3.1
This commit is contained in:
Martin Weinelt 2021-02-08 16:13:22 +01:00 committed by GitHub
commit ae5add1aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,37 @@
{ lib, buildPythonPackage, fetchFromGitHub, requests { lib
, tqdm, websocket_client, pytest, pillow, isPy27 }: , buildPythonPackage
, fetchFromGitHub
, requests
, tqdm
, websocket_client
, isPy27
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "PlexAPI"; pname = "PlexAPI";
version = "4.1.2"; version = "4.3.1";
disabled = isPy27; disabled = isPy27;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pkkid"; owner = "pkkid";
repo = "python-plexapi"; repo = "python-plexapi";
rev = version; rev = version;
sha256 = "1l955q1q6lljq3bmyiayr33gzxrlw16xdwgjdaflznvyg16fcjkk"; sha256 = "sha256-gRXNOGd9YGcGysKbAtiNwi5NxPvv39F6PEXBjiYbVq4=";
}; };
propagatedBuildInputs = [ requests tqdm websocket_client ]; propagatedBuildInputs = [
requests
tqdm
websocket_client
];
checkInputs = [ pytest pillow ]; # Tests require a running Plex instance
doCheck = false;
pythonImportsCheck = [ "plexapi" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/pkkid/python-plexapi";
description = "Python bindings for the Plex API"; description = "Python bindings for the Plex API";
homepage = "https://github.com/pkkid/python-plexapi";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ colemickens ]; maintainers = with maintainers; [ colemickens ];
}; };