From ba1c432eea770a3a6678519ede102e53d8f07e4b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 7 Feb 2021 23:38:06 +0100 Subject: [PATCH 1/2] python3Packages.plexapi: 4.1.2 -> 4.3.1 --- pkgs/development/python-modules/plexapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plexapi/default.nix b/pkgs/development/python-modules/plexapi/default.nix index b9a4fb34bf65..e714be66faee 100644 --- a/pkgs/development/python-modules/plexapi/default.nix +++ b/pkgs/development/python-modules/plexapi/default.nix @@ -3,14 +3,14 @@ buildPythonPackage rec { pname = "PlexAPI"; - version = "4.1.2"; + version = "4.3.1"; disabled = isPy27; src = fetchFromGitHub { owner = "pkkid"; repo = "python-plexapi"; rev = version; - sha256 = "1l955q1q6lljq3bmyiayr33gzxrlw16xdwgjdaflznvyg16fcjkk"; + sha256 = "sha256-gRXNOGd9YGcGysKbAtiNwi5NxPvv39F6PEXBjiYbVq4="; }; propagatedBuildInputs = [ requests tqdm websocket_client ]; From 5dfaf2de502a0db2ac4f4b70ade74d13bd705bb0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Feb 2021 10:42:35 +0100 Subject: [PATCH 2/2] python3Packages.plexapi: disable tests --- .../python-modules/plexapi/default.nix | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/plexapi/default.nix b/pkgs/development/python-modules/plexapi/default.nix index e714be66faee..5251ff1de0ec 100644 --- a/pkgs/development/python-modules/plexapi/default.nix +++ b/pkgs/development/python-modules/plexapi/default.nix @@ -1,5 +1,11 @@ -{ lib, buildPythonPackage, fetchFromGitHub, requests -, tqdm, websocket_client, pytest, pillow, isPy27 }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, requests +, tqdm +, websocket_client +, isPy27 +}: buildPythonPackage rec { pname = "PlexAPI"; @@ -13,13 +19,19 @@ buildPythonPackage rec { 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; { - homepage = "https://github.com/pkkid/python-plexapi"; description = "Python bindings for the Plex API"; + homepage = "https://github.com/pkkid/python-plexapi"; license = licenses.bsd3; maintainers = with maintainers; [ colemickens ]; };