{ lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder , poetry-core }: buildPythonPackage rec { pname = "gamble"; version = "0.13"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "jpetrucciani"; repo = "gamble"; rev = "refs/tags/${version}"; hash = "sha256-eHosY/JfJr317S7WI8phy7DNHf3cZzs6c5MMfw7yzAE="; }; build-system = [ poetry-core ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "gamble" ]; meta = with lib; { description = "Collection of gambling classes/tools"; homepage = "https://github.com/jpetrucciani/gamble"; changelog = "https://github.com/jpetrucciani/gamble/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ jpetrucciani ]; }; }