depot/third_party/nixpkgs/pkgs/development/python-modules/gpsoauth/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

34 lines
715 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pycryptodomex
, pythonOlder
, requests
}:
buildPythonPackage rec {
version = "1.0.2";
format = "setuptools";
pname = "gpsoauth";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-68rnLrMlp/BsvqlbnV5kvsJTcDEtsV6OLkbE1U5ynno=";
};
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 ];
};
}