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