depot/third_party/nixpkgs/pkgs/development/python-modules/gpsoauth/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

42 lines
778 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pycryptodomex
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "gpsoauth";
version = "1.0.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-SWYXNYrnzK8P4oK9f7bmOiVdWUQHp8WvhNzIS7Y0msg=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pycryptodomex
requests
];
# upstream tests are not very comprehensive
doCheck = false;
pythonImportsCheck = [ "gpsoauth" ];
meta = with lib; {
description = "Library for Google Play Services OAuth";
homepage = "https://github.com/simon-weber/gpsoauth";
license = licenses.mit;
maintainers = with maintainers; [ jgillich ];
};
}