summary refs log tree commit diff
path: root/pkgs/development/python-modules/gpapi/default.nix
blob: c6afce2f9ba8566b75e02a38fafb2495158bf566 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, 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 ];

  meta = with stdenv.lib; {
    homepage = https://github.com/NoMore201/googleplay-api;
    license = licenses.gpl3;
    description = "Google Play Unofficial Python API";
    maintainers = with maintainers; [ ];
  };
}