mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 01:15:51 +00:00
1d9c82ca55
Diff: https://github.com/pkkid/python-plexapi/compare/refs/tags/4.15.16...4.16.0 Changelog: https://github.com/pkkid/python-plexapi/releases/tag/4.16.0
47 lines
935 B
Nix
47 lines
935 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
requests,
|
|
setuptools,
|
|
tqdm,
|
|
websocket-client,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "plexapi";
|
|
version = "4.16.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pkkid";
|
|
repo = "python-plexapi";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-4dWtSj6OwD4c18yDKtlqXyPc37JQhbsAuj9OmcIHe0I=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
requests
|
|
tqdm
|
|
websocket-client
|
|
];
|
|
|
|
# Tests require a running Plex instance
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "plexapi" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python bindings for the Plex API";
|
|
homepage = "https://github.com/pkkid/python-plexapi";
|
|
changelog = "https://github.com/pkkid/python-plexapi/releases/tag/${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ colemickens ];
|
|
};
|
|
}
|