python3Packages.plexapi: disable tests

This commit is contained in:
Fabian Affolter 2021-02-08 10:42:35 +01:00
parent ba1c432eea
commit 5dfaf2de50

View File

@ -1,5 +1,11 @@
{ 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";
@ -13,13 +19,19 @@ buildPythonPackage rec {
sha256 = "sha256-gRXNOGd9YGcGysKbAtiNwi5NxPvv39F6PEXBjiYbVq4="; 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 ];
}; };