1{ buildPythonPackage, stdenv, libffi, isPy3k, pyasn1, clint, ndg-httpsclient
2, protobuf, requests, args, gpapi, pyaxmlparser, fetchFromGitHub
3}:
4
5buildPythonPackage rec {
6 pname = "gplaycli";
7 version = "3.21";
8
9 src = fetchFromGitHub {
10 owner = "matlink";
11 repo = "gplaycli";
12 rev = version;
13 sha256 = "1r5nzi9yzswam0866gypjcvv3f1rw13jwx9s49chp8byxy1dyrs2";
14 };
15
16 disabled = !isPy3k;
17
18 propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args gpapi pyaxmlparser ];
19
20 meta = with stdenv.lib; {
21 homepage = https://github.com/matlink/gplaycli;
22 description = "Google Play Downloader via Command line";
23 license = licenses.agpl3Plus;
24 maintainers = with maintainers; [ ma27 ];
25 };
26}