3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/gpapi/default.nix
Jonathan Ringer 98a411dde7 pythonPackages.gpapi: disable for python2
Uses shutil.which(), which was added in 3.3
No longer supports python2
2019-12-03 10:17:33 -08:00

26 lines
638 B
Nix

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