2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
, requests
|
|
|
|
, protobuf
|
|
|
|
, pycryptodome
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "0.4.4";
|
|
|
|
pname = "gpapi";
|
|
|
|
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
|
|
|
sha256 = "0ampvsv97r3hy1cakif4kmyk1ynf3scbvh4fbk02x7xrxn4kl38w";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests protobuf pycryptodome ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/NoMore201/googleplay-api";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
description = "Google Play Unofficial Python API";
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|