fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
827 B
Nix
37 lines
827 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|