about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/gpapi/default.nix
blob: 788473b5ab8f346845158ef9c0b97ba5c111b905 (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
{ lib, 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 lib; {
    homepage = "https://github.com/NoMore201/googleplay-api";
    license = licenses.gpl3;
    description = "Google Play Unofficial Python API";
    maintainers = with maintainers; [ ];
  };
}