1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-05 15:22:36 +03:00
nixpkgs/pkgs/development/python-modules/plexapi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
815 B
Nix
Raw Normal View History

2021-02-08 10:42:35 +01:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, tqdm
, websocket-client
, pythonOlder
2021-02-08 10:42:35 +01:00
}:
2020-01-20 18:30:48 -08:00
buildPythonPackage rec {
pname = "plexapi";
version = "4.13.1";
format = "setuptools";
disabled = pythonOlder "3.7";
2020-01-20 18:30:48 -08:00
src = fetchFromGitHub {
owner = "pkkid";
repo = "python-plexapi";
rev = "refs/tags/${version}";
hash = "sha256-py3UmKie96FR8klf97zsYxUkrQisO7/cnWUgKxgB+tQ=";
2020-01-20 18:30:48 -08:00
};
2021-02-08 10:42:35 +01:00
propagatedBuildInputs = [
requests
tqdm
websocket-client
2021-02-08 10:42:35 +01:00
];
2020-01-20 18:30:48 -08:00
2021-02-08 10:42:35 +01:00
# Tests require a running Plex instance
doCheck = false;
pythonImportsCheck = [
"plexapi"
];
2020-01-20 18:30:48 -08:00
meta = with lib; {
description = "Python bindings for the Plex API";
2021-02-08 10:42:35 +01:00
homepage = "https://github.com/pkkid/python-plexapi";
2020-01-20 18:30:48 -08:00
license = licenses.bsd3;
maintainers = with maintainers; [ colemickens ];
};
}