depot/third_party/nixpkgs/pkgs/development/python-modules/gpapi/default.nix

26 lines
625 B
Nix
Raw Normal View History

{ lib, 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; [ ];
};
}