504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
32 lines
829 B
Nix
32 lines
829 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, aiohttp, isPy27 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "plexauth";
|
|
version = "0.0.6";
|
|
format = "setuptools";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jjlawren";
|
|
repo = "python-plexauth";
|
|
rev = "v${version}";
|
|
sha256 = "1wy6syz3cgfw28zvigh2br4jabg8rzpi5l0bhfb6vjjc7aam13ag";
|
|
};
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
# package does not include tests
|
|
doCheck = false;
|
|
|
|
# at least guarantee the module can be imported
|
|
pythonImportsCheck = [
|
|
"plexauth"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jjlawren/python-plexauth/";
|
|
description = "Handles the authorization flow to obtain tokens from Plex.tv via external redirection";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ colemickens ];
|
|
};
|
|
}
|