plexauth: init at 0.0.5

This commit is contained in:
Cole Mickens 2020-01-20 18:31:20 -08:00 committed by Jon
parent 4249db11a6
commit 51c0802bad
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib, buildPythonPackage, fetchFromGitHub, aiohttp, isPy27 }:
buildPythonPackage rec {
pname = "plexauth";
version = "0.0.5";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jjlawren";
repo = "python-plexauth";
rev = "v${version}";
sha256 = "1wbrn22iywl4ccz64r3w3f17k0r7vi2cqkqd2mrdkx5xqhscn9hz";
};
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 ];
};
}

View File

@ -2962,6 +2962,8 @@ in {
plexapi = callPackage ../development/python-modules/plexapi { };
plexauth = callPackage ../development/python-modules/plexauth { };
plotly = callPackage ../development/python-modules/plotly { };
plyfile = callPackage ../development/python-modules/plyfile { };