02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
36 lines
833 B
Nix
36 lines
833 B
Nix
{ buildPythonPackage
|
|
, cryptography
|
|
, fetchPypi
|
|
, lib
|
|
, pythonOlder
|
|
, protobuf
|
|
, pycryptodome
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.4.4";
|
|
format = "setuptools";
|
|
pname = "gpapi";
|
|
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
|
|
|
|
src = fetchPypi {
|
|
inherit version pname;
|
|
sha256 = "0ampvsv97r3hy1cakif4kmyk1ynf3scbvh4fbk02x7xrxn4kl38w";
|
|
};
|
|
|
|
# package doesn't contain unit tests
|
|
# scripts in ./test require networking
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "gpapi.googleplay" ];
|
|
|
|
propagatedBuildInputs = [ cryptography protobuf pycryptodome requests ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/NoMore201/googleplay-api";
|
|
license = licenses.gpl3Only;
|
|
description = "Google Play Unofficial Python API";
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|