ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / plexauth / default.nix
blobc7c9c2ba5dbd15b6bf6b8931bb999d44b4ae64ef
1 { lib, buildPythonPackage, fetchFromGitHub, aiohttp, isPy27 }:
3 buildPythonPackage rec {
4   pname = "plexauth";
5   version = "0.0.6";
6   disabled = isPy27;
8   src = fetchFromGitHub {
9     owner = "jjlawren";
10     repo = "python-plexauth";
11     rev = "v${version}";
12     sha256 = "1wy6syz3cgfw28zvigh2br4jabg8rzpi5l0bhfb6vjjc7aam13ag";
13   };
15   propagatedBuildInputs = [ aiohttp ];
17   # package does not include tests
18   doCheck = false;
20   # at least guarantee the module can be imported
21   pythonImportsCheck = [
22     "plexauth"
23   ];
25   meta = with lib; {
26     homepage = "https://github.com/jjlawren/python-plexauth/";
27     description = "Handles the authorization flow to obtain tokens from Plex.tv via external redirection";
28     license = licenses.mit;
29     maintainers = with maintainers; [ colemickens ];
30   };