1{ lib 2, buildPythonPackage 3, fetchPypi 4, pycryptodomex 5, pythonOlder 6, requests 7}: 8 9buildPythonPackage rec { 10 version = "1.0.2"; 11 pname = "gpsoauth"; 12 13 disabled = pythonOlder "3.8"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-68rnLrMlp/BsvqlbnV5kvsJTcDEtsV6OLkbE1U5ynno="; 18 }; 19 20 propagatedBuildInputs = [ pycryptodomex requests ]; 21 22 # upstream tests are not very comprehensive 23 doCheck = false; 24 25 pythonImportsCheck = [ "gpsoauth" ]; 26 27 meta = with lib; { 28 description = "Library for Google Play Services OAuth"; 29 homepage = "https://github.com/simon-weber/gpsoauth"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ jgillich ]; 32 }; 33}