98a411dde7
Uses shutil.which(), which was added in 3.3 No longer supports python2
26 lines
638 B
Nix
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 ];
|
|
};
|
|
}
|