{ lib , unstableGitUpdater , buildPythonApplication , fetchFromGitHub , pythonOlder , setuptools , requests , protobuf , pycryptodome , zstandard , json5 , platformdirs , cacert }: buildPythonApplication rec { pname = "nile"; version = "1.1.1-unstable-2024-08-07"; format = "pyproject"; src = fetchFromGitHub { owner = "imLinguin"; repo = "nile"; rev = "9ce614f82a550a714ae55c4365658dba7bb1bb15"; hash = "sha256-7EzU8aUYiYe1eXFs6nE1qchlMzIKh2U09uIGmiN32xM="; }; disabled = pythonOlder "3.8"; propagatedBuildInputs = [ setuptools requests protobuf pycryptodome zstandard json5 platformdirs ]; pyprojectAppendix = '' [tool.setuptools.packages.find] include = ["nile*"] ''; postPatch = '' echo "$pyprojectAppendix" >> pyproject.toml ''; pythonImportsCheck = [ "nile" ]; meta = with lib; { description = "Unofficial Amazon Games client"; mainProgram = "nile"; homepage = "https://github.com/imLinguin/nile"; license = with licenses; [ gpl3 ]; maintainers = with maintainers; [ aidalgol ]; }; passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; }; }