mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
22eb340faf
Conflicts: - pkgs/development/python-modules/fastembed/default.nix
46 lines
825 B
Nix
46 lines
825 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poetry-core,
|
|
pycryptodomex,
|
|
pythonOlder,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gpsoauth";
|
|
version = "1.1.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WCAu0wM5fSkntGTcleJxS///haGw+Iv2jzrWOFnr5DU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pycryptodomex
|
|
requests
|
|
];
|
|
|
|
pythonRelaxDeps = [ "urllib3" ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|