at master 908 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 requests, 7 setuptools, 8 tqdm, 9 websocket-client, 10}: 11 12buildPythonPackage rec { 13 pname = "plexapi"; 14 version = "4.17.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "pkkid"; 21 repo = "python-plexapi"; 22 tag = version; 23 hash = "sha256-INnZ8aklr6mvawEy2XgI8mA9UD+S2KpQTsbHAZuYii0="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 requests 30 tqdm 31 websocket-client 32 ]; 33 34 # Tests require a running Plex instance 35 doCheck = false; 36 37 pythonImportsCheck = [ "plexapi" ]; 38 39 meta = with lib; { 40 description = "Python bindings for the Plex API"; 41 homepage = "https://github.com/pkkid/python-plexapi"; 42 changelog = "https://github.com/pkkid/python-plexapi/releases/tag/${version}"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ ]; 45 }; 46}