2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
2019-12-03 10:17:33 -08:00
|
|
|
, requests
|
|
|
|
, protobuf
|
|
|
|
, pycryptodome
|
|
|
|
}:
|
2018-03-10 15:09:11 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-12-03 05:39:49 -08:00
|
|
|
version = "0.4.4";
|
2018-03-10 15:09:11 -08:00
|
|
|
pname = "gpapi";
|
2019-12-03 10:17:33 -08:00
|
|
|
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
|
2018-03-10 15:09:11 -08:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
2019-12-03 05:39:49 -08:00
|
|
|
sha256 = "0ampvsv97r3hy1cakif4kmyk1ynf3scbvh4fbk02x7xrxn4kl38w";
|
2018-03-10 15:09:11 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests protobuf pycryptodome ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/NoMore201/googleplay-api";
|
2018-03-10 15:09:11 -08:00
|
|
|
license = licenses.gpl3;
|
|
|
|
description = "Google Play Unofficial Python API";
|
2019-12-26 06:13:48 -08:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-03-10 15:09:11 -08:00
|
|
|
};
|
|
|
|
}
|