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