at master 815 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 poetry-core, 8}: 9 10buildPythonPackage rec { 11 pname = "gamble"; 12 version = "0.14.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.10"; 16 17 src = fetchFromGitHub { 18 owner = "jpetrucciani"; 19 repo = "gamble"; 20 tag = version; 21 hash = "sha256-vzaY5gJ0Ou2ArUJ0kuTWzTeLfiRDhUt/Hxpns9rFiDk="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "gamble" ]; 29 30 meta = with lib; { 31 description = "Collection of gambling classes/tools"; 32 homepage = "https://github.com/jpetrucciani/gamble"; 33 changelog = "https://github.com/jpetrucciani/gamble/releases/tag/${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ jpetrucciani ]; 36 }; 37}